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 <1458350927.22.0.285725348594.issue26567@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-03-19 01:28:47vstinnersetrecipients: + vstinner, python-dev, serhiy.storchaka, yselivanov
2016-03-19 01:28:47vstinnersetmessageid: <1458350927.22.0.285725348594.issue26567@psf.upfronthosting.co.za>
2016-03-19 01:28:47vstinnerlinkissue26567 messages
2016-03-19 01:28:46vstinnercreate