mirror of
https://github.com/python/cpython.git
synced 2025-10-27 19:54:38 +00:00
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
This commit is contained in:
parent
853ddd5cb9
commit
5afa1dfb72
4 changed files with 88 additions and 62 deletions
|
|
@ -177,9 +177,12 @@ def localcall(self, request):
|
|||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue