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 docs@python, eric.araujo
Date 2010-11-19.16:04:59
SpamBayes Score 6.4376836e-06
Marked as misclassified No
Message-id <1290182704.47.0.121540663424.issue10461@psf.upfronthosting.co.za>
In-reply-to
Content
The docs contain numerous examples that would trigger resource warnings under 3.2 (for example “open(...).read()”).  They should be changed to use (and thus promote) the with statement.

Not adding the “easy” keyword, since grepping for those things is not easy.

Not sure we’ll backport that to 3.1 and 2.7.
History
Date User Action Args
2010-11-19 16:05:04eric.araujosetrecipients: + eric.araujo, docs@python
2010-11-19 16:05:04eric.araujosetmessageid: <1290182704.47.0.121540663424.issue10461@psf.upfronthosting.co.za>
2010-11-19 16:04:59eric.araujolinkissue10461 messages
2010-11-19 16:04:59eric.araujocreate