[issue17838] Can't assign a different value for sys.stdin in IDLE

Roger Serwy report at bugs.python.org
Sun Apr 28 09:36:27 CEST 2013


Roger Serwy added the comment:

I agree with Serhiy that the patch should be updated to better explain why the extra reference to stdin was being held. The attached patch provides that update in case anyone considers applying it in the future.

Terry, are you suggesting that the code should read like "sys.__stdin__ = sys.stdin" within MyHandler in Lib/idlelib/run.py ?

----------
Added file: http://bugs.python.org/file30042/hold_stdin_rev1.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17838>
_______________________________________


More information about the Python-bugs-list mailing list