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 jjalocha
Recipients georg.brandl, jjalocha
Date 2009-07-19.01:19:28
SpamBayes Score 0.0007295056
Marked as misclassified No
Message-id <>
Actually, the Python Tutorial recommends the use of the 'with' statement
in Section 7.2.1. "Methods of File Objects":

> It is good practice to use the with keyword when dealing with file
> objects. [etc.]

But the example and description are at the very bottom of this very
large section, and are easily missed by new Python users.

If this suggestion is to be taken seriously, I suggest putting this
information at a more prominent place, somewhere at the top of the short
section 7.2. "Reading and Writing Files".
Date User Action Args
2009-07-19 01:19:29jjalochasetrecipients: + jjalocha, georg.brandl
2009-07-19 01:19:29jjalochasetmessageid: <>
2009-07-19 01:19:28jjalochalinkissue6519 messages
2009-07-19 01:19:28jjalochacreate