Author vstinner
Recipients David.Townshend, Julian, amaury.forgeotdarc, benjamin.peterson, docs@python, neologix, pitrou, vstinner
Date 2011-08-24.21:34:40
SpamBayes Score 0.00422788
Marked as misclassified No
Message-id <1314221680.79.0.0220620448642.issue12760@psf.upfronthosting.co.za>
In-reply-to
Content
>    open(filename, 'w',
>         fd_opener=lambda path, mode: os.open(path, mode|os.O_CREAT)

I prefer open(name, "c").

> it doesn't fill a use case: actually, avoiding race conditions
> is an important use case, ...

It may help the issue #8604 (and maybe #8828).
History
Date User Action Args
2011-08-24 21:34:40vstinnersetrecipients: + vstinner, amaury.forgeotdarc, pitrou, benjamin.peterson, neologix, docs@python, Julian, David.Townshend
2011-08-24 21:34:40vstinnersetmessageid: <1314221680.79.0.0220620448642.issue12760@psf.upfronthosting.co.za>
2011-08-24 21:34:40vstinnerlinkissue12760 messages
2011-08-24 21:34:40vstinnercreate