Message231391
| Author |
serhiy.storchaka |
| Recipients |
arigo, neologix, pitrou, serhiy.storchaka, vstinner |
| Date |
2014年11月19日.16:37:59 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1416415080.01.0.358594409602.issue17852@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I'm +1 on closing this. Agree with Charles-François that it's never been guaranteed by the Python specification. Pythonic way to work with files is to use the "with" statement, or, if you need long living file stream, careful close files in the "finally" block or in __exit__ method of some class which is used as context manager. Non-observance of this rule can be considered as a bug (see issue22831). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年11月19日 16:38:00 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, arigo, pitrou, vstinner, neologix |
| 2014年11月19日 16:38:00 | serhiy.storchaka | set | messageid: <1416415080.01.0.358594409602.issue17852@psf.upfronthosting.co.za> |
| 2014年11月19日 16:38:00 | serhiy.storchaka | link | issue17852 messages |
| 2014年11月19日 16:37:59 | serhiy.storchaka | create |
|