DebugClients/Python/DebugClientBase.py

changeset 5272
5684dd6667e6
parent 5242
26630d91f4cf
child 5277
ed66a44dcd84
--- a/DebugClients/Python/DebugClientBase.py	Tue Oct 25 19:33:43 2016 +0200
+++ b/DebugClients/Python/DebugClientBase.py	Tue Oct 25 21:45:20 2016 +0200
@@ -1684,13 +1684,17 @@
                     elif ConfigVarTypeStrings.index('instance') in filter:
                         continue
                     
-                    if valtypename not in ["ndarray", "MultiValueDict",
-                                           "array"]:
+                    if (not valtypestr.startswith('type ') and 
+                            valtypename not in
+                            ["ndarray", "MultiValueDict", "array"]):
                         valtype = valtypestr
                 else:
                     try:
                         if ConfigVarTypeStrings.index(valtype) in filter:
                             continue
+                        # Strip 'instance' to be equal with Python 3
+                        if valtype == "instancemethod":
+                            valtype = "method"
                     except ValueError:
                         if valtype == "classobj":
                             if ConfigVarTypeStrings.index(

eric ide

mercurial