Issue #15319: Revert wrapping of sys.stdin. Patch by Serhiy Storchaka.
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 @@
         """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.