Debug Client: added code to treat type 'sip.wrappertype' like type 'class'.

Tue, 12 May 2020 17:32:16 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 12 May 2020 17:32:16 +0200
changeset 7594
ee35df230130
parent 7593
68b03f6ebed5
child 7595
5db6bfeff23e

Debug Client: added code to treat type 'sip.wrappertype' like type 'class'.

eric6/DebugClients/Python/DebugClientBase.py file | annotate | diff | comparison | revisions
eric6/DebugClients/Python/DebugVariables.py file | annotate | diff | comparison | revisions
--- a/eric6/DebugClients/Python/DebugClientBase.py	Tue May 12 17:22:50 2020 +0200
+++ b/eric6/DebugClients/Python/DebugClientBase.py	Tue May 12 17:32:16 2020 +0200
@@ -1817,7 +1817,7 @@
                     if ConfigVarTypeStrings.index(valtype) in filterList:
                         continue
                 except ValueError:
-                    if valtype == "sip.enumtype":
+                    if valtype in ("sip.enumtype", "sip.wrappertype"):
                         if ConfigVarTypeStrings.index('class') in filterList:
                             continue
                     elif (valtype == "sip.methoddescriptor" or
--- a/eric6/DebugClients/Python/DebugVariables.py	Tue May 12 17:22:50 2020 +0200
+++ b/eric6/DebugClients/Python/DebugVariables.py	Tue May 12 17:32:16 2020 +0200
@@ -704,8 +704,10 @@
     typeStr = str(typeObject).split(' ', 1)[-1]
     typeStr = typeStr[1:-2]
     
-    if (typeStr.startswith(ConfigQtNames) and
-            typeStr.endswith(ConfigKnownQtTypes)):
+    if (
+        typeStr.startswith(ConfigQtNames) and
+        typeStr.endswith(ConfigKnownQtTypes)
+    ):
         resolver = None
     else:
         if _TypeMap is None:

eric ide

mercurial