Message262013
| 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: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 |
|