DebugClients/Python3/DebugClientBase.py

changeset 4455
ca13a6f6c452
parent 4370
54dbb658f9e6
child 4489
d0d6e4ad31bd
diff -r e8bea5026dd0 -r ca13a6f6c452 DebugClients/Python3/DebugClientBase.py
--- a/DebugClients/Python3/DebugClientBase.py	Fri Sep 11 19:45:19 2015 +0200
+++ b/DebugClients/Python3/DebugClientBase.py	Sat Sep 12 12:54:12 2015 +0200
@@ -18,7 +18,6 @@
 import re
 import atexit
 import signal
-import inspect
 
 
 import DebugProtocol
@@ -27,6 +26,7 @@
 from AsyncFile import AsyncFile, AsyncPendingWrite
 from DebugConfig import ConfigVarTypeStrings
 from FlexCompleter import Completer
+from DebugUtilities import getargvalues, formatargvalues
 
 
 DebugClientInstance = None
@@ -1218,9 +1218,9 @@
             ffunc = ''
         
         if ffunc and not ffunc.startswith("<"):
-            argInfo = inspect.getargvalues(stackFrame)
+            argInfo = getargvalues(stackFrame)
             try:
-                fargs = inspect.formatargvalues(
+                fargs = formatargvalues(
                     argInfo.args, argInfo.varargs,
                     argInfo.keywords, argInfo.locals)
             except Exception:

eric ide

mercurial