Use async write cb

This commit is contained in:
Oleksii Shevchuk 2016-10-20 09:12:29 +03:00
parent 4baa96747c
commit 3bc35a9e25
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ class InteractiveShell(PupyModule):
def _read_loop(self, write_cb, complete):
lastbuf = b''
write_cb = rpyc.async(write_cb)
while not complete.is_set():
r, _, x = select.select([sys.stdin], [], [sys.stdin], None)