]> granicus.if.org Git - python/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:32:05 +0000 (08:32 +0200)
committerMartin v. Löwis <martin@v.loewis.de>
Wed, 11 Jul 2012 06:32:05 +0000 (08:32 +0200)
Lib/idlelib/NEWS.txt
Lib/idlelib/run.py

index 55ae5adeaf63f605aa1730a8a7e6e53ca2c1891e..83d2f4825f4bbc52bd333928e2bdd9b3d18f4102 100644 (file)
@@ -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.
 
index 67d18810603672f7b13cfeb65d076d741f77c351..c1b974a5e228314598275674a7326ec73f375cd8 100644 (file)
@@ -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