[issue17585] IDLE - regression with exit() and quit()

Roger Serwy report at bugs.python.org
Sun Mar 31 20:26:59 CEST 2013


Roger Serwy added the comment:

Antoine, it does affect 2.7 since sys.stdin.close() doesn't call PyShell's close method. #9290 introduced this regression. I accept some responsibility because my manual testing of those patches in #9290 didn't include trying the exit() and quit() methods.

The attached patch fixes the problem on the 2.7 branch.

----------
nosy: +serhiy.storchaka
versions: +Python 2.7
Added file: http://bugs.python.org/file29621/issue17585_2.7.patch

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


More information about the Python-bugs-list mailing list