mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
Issue #15319: Revert wrapping of sys.stdin. Patch by Serhiy Storchaka.
This commit is contained in:
parent
59b9a7bc61
commit
8a75bed317
2 changed files with 2 additions and 2 deletions
|
@ -269,7 +269,7 @@ class MyHandler(rpc.RPCHandler):
|
|||
"""Override base method"""
|
||||
executive = Executive(self)
|
||||
self.register("exec", executive)
|
||||
sys.stdin = self.console = _RPCFile(self.get_remote_proxy("stdin"))
|
||||
sys.stdin = self.console = self.get_remote_proxy("stdin")
|
||||
sys.stdout = _RPCFile(self.get_remote_proxy("stdout"))
|
||||
sys.stderr = _RPCFile(self.get_remote_proxy("stderr"))
|
||||
# page help() text to shell.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue