diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2012-07-11 06:29:03 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2012-07-11 06:29:03 (GMT) |
commit | 8a75bed3177a68dbd49ef5e9559ed3bf6ea4438d (patch) | |
tree | 182a9c9e200e7b8a701ebb1d599e45c8b2123720 /Lib | |
parent | 59b9a7bc61f856e69f17661e009195beaa210c26 (diff) | |
download | cpython-8a75bed3177a68dbd49ef5e9559ed3bf6ea4438d.zip cpython-8a75bed3177a68dbd49ef5e9559ed3bf6ea4438d.tar.gz cpython-8a75bed3177a68dbd49ef5e9559ed3bf6ea4438d.tar.bz2 |
Issue #15319: Revert wrapping of sys.stdin. Patch by Serhiy Storchaka.
Diffstat (limited to 'Lib')
-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 d99e231..b23b2a7 100644 --- a/Lib/idlelib/NEWS.txt +++ b/Lib/idlelib/NEWS.txt @@ -1,7 +1,7 @@ What's New in IDLE 3.2.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. Erroneous tool tips have been corrected. Default added for callables. diff --git a/Lib/idlelib/run.py b/Lib/idlelib/run.py index 5c9c381..4296aaf 100644 --- a/Lib/idlelib/run.py +++ b/Lib/idlelib/run.py @@ -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. |