Commit dbde8869 authored by Martin v. Löwis's avatar Martin v. Löwis

Issue #15319: Revert wrapping of sys.stdin. Patch by Serhiy Storchaka.

parent f8fc674f
What's New in IDLE 2.7.4? What's New in IDLE 2.7.4?
========================= =========================
- Issue #13532: Check that arguments to sys.stdout.write are strings. - Issue #13532, #15319: Check that arguments to sys.stdout.write are strings.
- Issue # 12510: Attempt to get certain tool tips no longer crashes IDLE. - Issue # 12510: Attempt to get certain tool tips no longer crashes IDLE.
......
...@@ -273,7 +273,7 @@ class MyHandler(rpc.RPCHandler): ...@@ -273,7 +273,7 @@ class MyHandler(rpc.RPCHandler):
"""Override base method""" """Override base method"""
executive = Executive(self) executive = Executive(self)
self.register("exec", executive) 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.stdout = _RPCFile(self.get_remote_proxy("stdout"))
sys.stderr = _RPCFile(self.get_remote_proxy("stderr")) sys.stderr = _RPCFile(self.get_remote_proxy("stderr"))
from idlelib import IOBinding from idlelib import IOBinding
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment