eric6/DebugClients/Python/DebugConfig.py

Sat, 27 Jun 2020 12:08:12 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 27 Jun 2020 12:08:12 +0200
changeset 7639
422fd05e9c91
parent 7635
0cdead130a81
child 7775
4a1db75550bd
permissions
-rw-r--r--

Removed some more Python2 related code.

0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1 # -*- coding: utf-8 -*-
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2
7360
9190402e4505 Updated copyright for 2020.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6978
diff changeset
3 # Copyright (c) 2005 - 2020 Detlev Offenbach <detlev@die-offenbachs.de>
0
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
4 #
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
5
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
6 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
7 Module defining type strings for the different Python types.
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
8 """
de9c2efb9d02 Started porting eric4 to Python3
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
9
5171
f1e9eebd5469 Continued improving the variable dumping of the debugger backends.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 5169
diff changeset
10 #
f1e9eebd5469 Continued improving the variable dumping of the debugger backends.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 5169
diff changeset
11 # Keep this list in sync with Debugger.Config.ConfigVarTypeFilters
f1e9eebd5469 Continued improving the variable dumping of the debugger backends.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 5169
diff changeset
12 #
3021
801289962f4e Fixed a bunch of visible indentation issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2302
diff changeset
13 ConfigVarTypeStrings = [
3032
927a2f8b3669 Fixed various coding style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3021
diff changeset
14 '__', 'NoneType', 'type',
927a2f8b3669 Fixed various coding style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3021
diff changeset
15 'bool', 'int', 'long', 'float', 'complex',
927a2f8b3669 Fixed various coding style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3021
diff changeset
16 'str', 'unicode', 'tuple', 'list',
927a2f8b3669 Fixed various coding style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3021
diff changeset
17 'dict', 'dict-proxy', 'set', 'file', 'xrange',
5278
efd21f457e06 Fix the variable filter for Python 3.
T.Rzepka <Tobias.Rzepka@gmail.com>
parents: 5272
diff changeset
18 'slice', 'buffer', 'class', 'instance',
5169
74e000797a93 Started to improve the variable dumping of the debugger backend.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4631
diff changeset
19 'method', 'property', 'generator',
3032
927a2f8b3669 Fixed various coding style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3021
diff changeset
20 'function', 'builtin_function_or_method', 'code', 'module',
6978
720247f98e1f Improved determination of expandable items including removing 'other' as selectable type.
T.Rzepka <Tobias.Rzepka@gmail.com>
parents: 6971
diff changeset
21 'ellipsis', 'traceback', 'frame', 'other', 'frozenset', 'bytes',
3021
801289962f4e Fixed a bunch of visible indentation issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2302
diff changeset
22 ]
4543
2e6a880670e9 Fixed a few code style issues (forgotten future imports, copyrights,...).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4021
diff changeset
23
6969
fd7af2312383 Reimplemented Variables Viewer using QTreeView.
T.Rzepka <Tobias.Rzepka@gmail.com>
parents: 6942
diff changeset
24 BatchSize = 200
6971
77cf9a30562d Fixed some code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6969
diff changeset
25 ConfigQtNames = (
7635
0cdead130a81 Removed support for Python2 and removed support for Qt4 (PyQt4 and pyside).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 7360
diff changeset
26 'PyQt5.', 'PySide2.', 'Shiboken.EnumType'
6971
77cf9a30562d Fixed some code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6969
diff changeset
27 )
77cf9a30562d Fixed some code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6969
diff changeset
28 ConfigKnownQtTypes = (
77cf9a30562d Fixed some code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6969
diff changeset
29 '.QChar', '.QByteArray', '.QString', '.QStringList', '.QPoint', '.QPointF',
77cf9a30562d Fixed some code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6969
diff changeset
30 '.QRect', '.QRectF', '.QSize', '.QSizeF', '.QColor', '.QDate', '.QTime',
77cf9a30562d Fixed some code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6969
diff changeset
31 '.QDateTime', '.QDir', '.QFile', '.QFont', '.QUrl', '.QModelIndex',
77cf9a30562d Fixed some code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6969
diff changeset
32 '.QRegExp', '.QAction', '.QKeySequence', '.QDomAttr', '.QDomCharacterData',
77cf9a30562d Fixed some code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6969
diff changeset
33 '.QDomComment', '.QDomDocument', '.QDomElement', '.QDomText',
77cf9a30562d Fixed some code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6969
diff changeset
34 '.QHostAddress', '.EnumType'
77cf9a30562d Fixed some code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 6969
diff changeset
35 )

eric ide

mercurial