summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/rpc.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2002-10-10 08:25:24 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2002-10-10 08:25:24 (GMT)
commit5afa1dfb72311b8360904363cc3ebb7cbfc8b6e4 (patch)
tree33287ebdb0fd27d9fdea4a8210b1a259df26c5b7 /Lib/idlelib/rpc.py
parent853ddd5cb96981966b935ed75bf8af0cfd0bee24 (diff)
downloadcpython-5afa1dfb72311b8360904363cc3ebb7cbfc8b6e4.zip
cpython-5afa1dfb72311b8360904363cc3ebb7cbfc8b6e4.tar.gz
cpython-5afa1dfb72311b8360904363cc3ebb7cbfc8b6e4.tar.bz2
M CallTips.py Add support for getting calltip from subprocess,
refactor a bit and clean up. M PyShell.py Cosmetic changes, delete blank lines, add # on some blank lines. M rpc.py Add more debugging capability M run.py Add support for getting calltip from subprocess Move import statements
Diffstat (limited to 'Lib/idlelib/rpc.py')
-rw-r--r--Lib/idlelib/rpc.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/idlelib/rpc.py b/Lib/idlelib/rpc.py
index cd11dfa..eeb1b4e 100644
--- a/Lib/idlelib/rpc.py
+++ b/Lib/idlelib/rpc.py
@@ -177,9 +177,12 @@ class SocketIO:
def remotecall(self, oid, methodname, args, kwargs):
self.debug("remotecall:", oid, methodname, args, kwargs)
seq = self.asynccall(oid, methodname, args, kwargs)
- return self.asyncreturn(seq)
+ ret = self.asyncreturn(seq)
+ self.debug("return:", ret)
+ return ret
def asynccall(self, oid, methodname, args, kwargs):
+ self.debug("asyncall:", oid, methodname, args, kwargs)
request = ("call", (oid, methodname, args, kwargs))
seq = self.putrequest(request)
return seq