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 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:00serhiy.storchakasetrecipients: + serhiy.storchaka, arigo, pitrou, vstinner, neologix
2014-11-19 16:38:00serhiy.storchakasetmessageid: <1416415080.01.0.358594409602.issue17852@psf.upfronthosting.co.za>
2014-11-19 16:38:00serhiy.storchakalinkissue17852 messages
2014-11-19 16:37:59serhiy.storchakacreate