Skip to content

Commit 8a75bed

Browse files
committed
Issue #15319: Revert wrapping of sys.stdin. Patch by Serhiy Storchaka.
1 parent 59b9a7b commit 8a75bed

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/idlelib/NEWS.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
What's New in IDLE 3.2.4?
22
=========================
33

4-
- Issue #13532: Check that arguments to sys.stdout.write are strings.
4+
- Issue #13532, #15319: Check that arguments to sys.stdout.write are strings.
55

66
- Issue # 12510: Attempt to get certain tool tips no longer crashes IDLE.
77
Erroneous tool tips have been corrected. Default added for callables.

Lib/idlelib/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def handle(self):
269269
"""Override base method"""
270270
executive = Executive(self)
271271
self.register("exec", executive)
272-
sys.stdin = self.console = _RPCFile(self.get_remote_proxy("stdin"))
272+
sys.stdin = self.console = self.get_remote_proxy("stdin")
273273
sys.stdout = _RPCFile(self.get_remote_proxy("stdout"))
274274
sys.stderr = _RPCFile(self.get_remote_proxy("stderr"))
275275
# page help() text to shell.

0 commit comments

Comments
 (0)