Issue #15319: Revert wrapping of sys.stdin. Patch by Serhiy Storchaka.
diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt
index 55ae5ad..83d2f48 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 67d1881..c1b974a 100644
--- a/Lib/idlelib/run.py
+++ b/Lib/idlelib/run.py
@@ -273,7 +273,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"))
from idlelib import IOBinding