DebugClients/Python/DebugConfig.py

Wed, 13 Mar 2013 18:35:24 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 13 Mar 2013 18:35:24 +0100
branch
5_3_x
changeset 2487
75ee609c3241
parent 2302
f29e9405c851
child 3021
801289962f4e
child 3163
9f50365a0870
permissions
-rw-r--r--

Fixed an issue that could cause the debugger backends to crash, if a class redefined __repr__.
(grafted from e16c9ced6ae5d9a3a6a6260d139ca35a212d65f8)

# -*- coding: utf-8 -*-

# Copyright (c) 2005 - 2013 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module defining type strings for the different Python types.
"""

ConfigVarTypeStrings = ['__', 'NoneType', 'type',\
        'bool', 'int', 'long', 'float', 'complex',\
        'str', 'unicode', 'tuple', 'list',\
        'dict', 'dict-proxy', 'set', 'file', 'xrange',\
        'slice', 'buffer', 'class', 'instance',\
        'instance method', 'property', 'generator',\
        'function', 'builtin_function_or_method', 'code', 'module',\
        'ellipsis', 'traceback', 'frame', 'other']

#
# eflag: FileType = Python2

eric ide

mercurial