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 alexey-smirnov, amaury.forgeotdarc, georg.brandl, neologix, petri.lehtinen, socketpair, vstinner
Date 2011-05-22.14:07:00
SpamBayes Score 0.013300612
Marked as misclassified No
Message-id <1306073221.48.0.692651180345.issue12105@psf.upfronthosting.co.za>
In-reply-to
Content
Oh, by the way: it would also be nice to add os.O_CLOEXEC to Python 2.7.

For example, tempfile._mkstemp_inner() uses:
            fd = _os.open(file, flags, 0600)
            _set_cloexec(fd) # fcntl(fd, F_SETFD, flags | FD_CLOEXEC)
which is not atomic.
History
Date User Action Args
2011-05-22 14:07:01vstinnersetrecipients: + vstinner, georg.brandl, amaury.forgeotdarc, neologix, socketpair, petri.lehtinen, alexey-smirnov
2011-05-22 14:07:01vstinnersetmessageid: <1306073221.48.0.692651180345.issue12105@psf.upfronthosting.co.za>
2011-05-22 14:07:00vstinnerlinkissue12105 messages
2011-05-22 14:07:00vstinnercreate