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 ezio.melotti
Recipients ezio.melotti, georg.brandl, jjalocha
Date 2010-02-27.09:48:48
SpamBayes Score 5.9393224e-06
Marked as misclassified No
Message-id <1267264130.84.0.480222455443.issue6519@psf.upfronthosting.co.za>
In-reply-to
Content
All the examples there assume that "a file object called f has already been created". Using a 'with' there it's not a good idea because the users will have to keep the instructions indented under the 'with'.
However I agree that it would be better to move that example earlier. Maybe in 7.2 both the forms can be shown and discussed briefly.
History
Date User Action Args
2010-02-27 09:48:50ezio.melottisetrecipients: + ezio.melotti, georg.brandl, jjalocha
2010-02-27 09:48:50ezio.melottisetmessageid: <1267264130.84.0.480222455443.issue6519@psf.upfronthosting.co.za>
2010-02-27 09:48:49ezio.melottilinkissue6519 messages
2010-02-27 09:48:48ezio.melotticreate