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 <rep...@bugs.python.org>
<http://bugs.python.org/issue17585>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to