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 vstinner
Recipients python-dev, serhiy.storchaka, vstinner, yselivanov
Date 2016-03-19.01:28:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
When warnings._showwarnmsg(), the io.FileIO object is not closed yet, so all attributes are accessible, which can be useful. Hopefully, the file is closed even if it is kept alive by the warning logger. So maybe it's ok to keep the Python object alive, if the underlying resource (the file descriptor) is released. I mean, it's not a big deal.
Date User Action Args
2016-03-19 01:28:47vstinnersetrecipients: + vstinner, python-dev, serhiy.storchaka, yselivanov
2016-03-19 01:28:47vstinnersetmessageid: <>
2016-03-19 01:28:47vstinnerlinkissue26567 messages
2016-03-19 01:28:46vstinnercreate