diff -r 866adc8c315b -r 0acf98cd089a eric6/Debugger/Config.py --- a/eric6/Debugger/Config.py Sun Jan 17 13:53:08 2021 +0100 +++ b/eric6/Debugger/Config.py Mon Feb 01 10:38:16 2021 +0100 @@ -9,7 +9,7 @@ from PyQt5.QtCore import QT_TRANSLATE_NOOP -# Variables type definition +# Variable type definitions ConfigVarTypeDispStrings = { '__': QT_TRANSLATE_NOOP('Variable Types', 'Hidden Attributes'), 'NoneType': QT_TRANSLATE_NOOP('Variable Types', 'None'), @@ -20,7 +20,6 @@ 'float': QT_TRANSLATE_NOOP('Variable Types', 'Float'), 'complex': QT_TRANSLATE_NOOP('Variable Types', 'Complex'), 'str': QT_TRANSLATE_NOOP('Variable Types', 'String'), - 'unicode': QT_TRANSLATE_NOOP('Variable Types', 'Unicode String'), 'tuple': QT_TRANSLATE_NOOP('Variable Types', 'Tuple'), 'list': QT_TRANSLATE_NOOP('Variable Types', 'List/Array'), 'dict': QT_TRANSLATE_NOOP('Variable Types', 'Dictionary/Hash/Map'), @@ -45,42 +44,6 @@ 'traceback': QT_TRANSLATE_NOOP('Variable Types', 'Traceback'), 'frame': QT_TRANSLATE_NOOP('Variable Types', 'Frame'), 'bytes': QT_TRANSLATE_NOOP('Variable Types', 'Bytes'), + "special_attributes": QT_TRANSLATE_NOOP( + 'Variable Types', "Special Attributes"), } - - -ConfigVarTypeFilters = { - '__': 0, - 'NoneType': 1, - 'type': 2, - 'bool': 3, - 'int': 4, - 'long': 5, - 'float': 6, - 'complex': 7, - 'str': 8, - 'unicode': 9, # Not used anymore but keep to avoid reassignment - 'tuple': 10, - 'list': 11, - 'dict': 12, - 'dict-proxy': 13, - 'set': 14, - 'file': 15, - 'xrange': 16, - 'slice': 17, - 'buffer': 18, - 'class': 19, - 'instance': 20, - 'method': 21, - 'property': 22, - 'generator': 23, - 'function': 24, - 'builtin_function_or_method': 25, - 'code': 26, - 'module': 27, - 'ellipsis': 28, - 'traceback': 29, - 'frame': 30, - 'other': 31, # Not used anymore but keep to avoid reassignment - 'frozenset': 32, - 'bytes': 33, -}