DebugClients/Python/DebugConfig.py

Tue, 25 Oct 2016 21:45:20 +0200

author
T.Rzepka <Tobias.Rzepka@gmail.com>
date
Tue, 25 Oct 2016 21:45:20 +0200
changeset 5272
5684dd6667e6
parent 5179
5f56410e7624
child 5278
efd21f457e06
permissions
-rw-r--r--

Make the variable view and filter consistent between Python2 and Python3.

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

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

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

#
# Keep this list in sync with Debugger.Config.ConfigVarTypeFilters
#
ConfigVarTypeStrings = [
    '__', 'NoneType', 'type',
    'bool', 'int', 'long', 'float', 'complex',
    'str', 'unicode', 'tuple', 'list',
    'dict', 'dict-proxy', 'set', 'file', 'xrange',
    'slice', 'buffer', 'class', 'instance', 'instancemethod',
    'method', 'property', 'generator',
    'function', 'builtin_function_or_method', 'code', 'module',
    'ellipsis', 'traceback', 'frame', 'other', 'frozenset'
]

#
# eflag: noqa = M702

eric ide

mercurial