]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #15319: Revert wrapping of sys.stdin. Patch by Serhiy Storchaka.
authorMartin v. Löwis <martin@v.loewis.de>
Wed, 11 Jul 2012 06:29:03 +0000 (08:29 +0200)
committerMartin v. Löwis <martin@v.loewis.de>
Wed, 11 Jul 2012 06:29:03 +0000 (08:29 +0200)
Lib/idlelib/NEWS.txt
Lib/idlelib/run.py

index d99e231e76b7290c5f802a632857a4a5cb677528..b23b2a79c84e084d84a03fc079e3a221286cccb4 100644 (file)
@@ -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.
index 5c9c38197a1c31ab58b229d51814b7f5abf7e953..4296aaf3236daddff6bfc8e6e842765ac5e0557f 100644 (file)
@@ -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.