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 eric.araujo
Recipients Adrián.Deccico, docs@python, eric.araujo
Date 2010-04-24.18:04:48
SpamBayes Score 5.3149313e-07
Marked as misclassified No
Message-id <[email protected]>
In-reply-to
Content
Hello

You’re right, this idiom (new in 2.5, always enabled in 2.6) is now the recommended way of doing this. Note that the older code does close the file properly too, it’s just another way of doing it.

Would you like to provide a patch against the latest version of this file?
 
Regards
History
Date User Action Args
2010-04-24 18:04:50eric.araujosetrecipients: + eric.araujo, Adrián.Deccico, docs@python
2010-04-24 18:04:50eric.araujosetmessageid: <[email protected]>
2010-04-24 18:04:49eric.araujolinkissue8522 messages
2010-04-24 18:04:48eric.araujocreate