This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author roger.serwy
Recipients pitrou, roger.serwy, serhiy.storchaka, terry.reedy
Date 2013-03-31.18:26:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364754419.69.0.361723438304.issue17585@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-03-31 18:26:59roger.serwysetrecipients: + roger.serwy, terry.reedy, pitrou, serhiy.storchaka
2013-03-31 18:26:59roger.serwysetmessageid: <1364754419.69.0.361723438304.issue17585@psf.upfronthosting.co.za>
2013-03-31 18:26:59roger.serwylinkissue17585 messages
2013-03-31 18:26:59roger.serwycreate