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 marienz
Recipients marienz, neologix, pitrou, tim.peters
Date 2015-03-09.08:47:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I'm afraid I don't have real-world code I can confirm is fixed, since I reported this on behalf of someone on irc in #python.

I think I'd prefer the Py_FatalError version of the patch. It's definitely possible to see writes to stdout/stderr at this time. If I read the first version right, it'll succeed the ENTER_BUFFERED without actually grabbing the lock, which seems problematic. But failing ENTER_BUFFERED is probably also more problematic, as it will probably lead to another exception that Python'll try to write to stderr, which fails the same way... If stdout/stderr are in a broken state during shutdown, Python is probably better off calling Py_FatalError rather than intermittently discarding messages.
Date User Action Args
2015-03-09 08:47:36marienzsetrecipients: + marienz, tim.peters, pitrou, neologix
2015-03-09 08:47:36marienzsetmessageid: <>
2015-03-09 08:47:36marienzlinkissue23309 messages
2015-03-09 08:47:35marienzcreate