diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2012-07-11 08:32:05 +0200 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2012-07-11 08:32:05 +0200 |
commit | dbde88696b5c36d5d62d6b8731688c10b26ce521 (patch) | |
tree | 62202dad9f6def1eede6f650026a57ee281a22bc | |
parent | f8fc674f0bc1819a85e64e1f3174b682260adab6 (diff) | |
download | cpython-git-dbde88696b5c36d5d62d6b8731688c10b26ce521.tar.gz |
Issue #15319: Revert wrapping of sys.stdin. Patch by Serhiy Storchaka.
-rw-r--r-- | Lib/idlelib/NEWS.txt | 2 | ||||
-rw-r--r-- | Lib/idlelib/run.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt index 55ae5adeaf..83d2f4825f 100644 --- a/Lib/idlelib/NEWS.txt +++ b/Lib/idlelib/NEWS.txt @@ -1,7 +1,7 @@ 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. diff --git a/Lib/idlelib/run.py b/Lib/idlelib/run.py index 67d1881060..c1b974a5e2 100644 --- a/Lib/idlelib/run.py +++ b/Lib/idlelib/run.py @@ -273,7 +273,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")) from idlelib import IOBinding |