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 pitrou
Recipients eric.smith, meatballhat, olemis, pitrou, tarek
Date 2010-05-03.17:31:52
SpamBayes Score 0.015911251
Marked as misclassified No
Message-id <1272908055.21551.10.camel@localhost.localdomain>
In-reply-to <1272907320.42.0.635903330287.issue8604@psf.upfronthosting.co.za>
Content
> Well, a context manager sounds overkill since we just want to write
> some content in a file (and nothing else during that context). 

Using a context manager, though, is the recommended idiom to write
files. I think there's a value in remaining consistent. We don't want to
end up like PHP which has dozens of different idioms of doing similar
things.
History
Date User Action Args
2010-05-03 17:31:56pitrousetrecipients: + pitrou, eric.smith, tarek, olemis, meatballhat
2010-05-03 17:31:53pitroulinkissue8604 messages
2010-05-03 17:31:53pitroucreate