[Python-checkins] cpython (3.2): Issue #15319: Revert wrapping of sys.stdin. Patch by Serhiy Storchaka.
martin.v.loewis
python-checkins at python.org
Wed Jul 11 08:30:54 CEST 2012
http://hg.python.org/cpython/rev/b90482742ee0
changeset: 78053:b90482742ee0
branch: 3.2
parent: 78039:f86df559319d
user: Martin v. Löwis <martin at v.loewis.de>
date: Wed Jul 11 08:29:03 2012 +0200
summary:
Issue #15319: Revert wrapping of sys.stdin. Patch by Serhiy Storchaka.
files:
Lib/idlelib/NEWS.txt | 2 +-
Lib/idlelib/run.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt
--- 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
--- a/Lib/idlelib/run.py
+++ b/Lib/idlelib/run.py
@@ -269,7 +269,7 @@
"""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.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list