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 vstinner
Recipients David.Townshend, Julian, amaury.forgeotdarc, benjamin.peterson, docs@python, neologix, pitrou, vstinner
Date 2011-08-24.21:34:40
SpamBayes Score 0.0042278753
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