Message262013
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:47 | vstinner | set | recipients:
+ vstinner, python-dev, serhiy.storchaka, yselivanov |
2016-03-19 01:28:47 | vstinner | set | messageid: <1458350927.22.0.285725348594.issue26567@psf.upfronthosting.co.za> |
2016-03-19 01:28:47 | vstinner | link | issue26567 messages |
2016-03-19 01:28:46 | vstinner | create | |
|