Author pitrou
Recipients olemis, pitrou, tarek
Date 2010-05-03.12:54:18
SpamBayes Score 0.0166899
Marked as misclassified No
Message-id <1272891259.79.0.24960708246.issue8604@psf.upfronthosting.co.za>
In-reply-to
Content
This sounds silly to me. You can write a file in two lines:

with open("foo", "wb") as f:
    f.write(contents)

If you want to do something more useful, you can add a function for atomic writing of a file.
History
Date User Action Args
2010-05-03 12:54:19pitrousetrecipients: + pitrou, tarek, olemis
2010-05-03 12:54:19pitrousetmessageid: <1272891259.79.0.24960708246.issue8604@psf.upfronthosting.co.za>
2010-05-03 12:54:18pitroulinkissue8604 messages
2010-05-03 12:54:18pitroucreate