Message104857
| 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. |
|