Message136529
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. |
|
Date |
User |
Action |
Args |
2011-05-22 14:07:01 | vstinner | set | recipients:
+ vstinner, georg.brandl, amaury.forgeotdarc, neologix, socketpair, petri.lehtinen, alexey-smirnov |
2011-05-22 14:07:01 | vstinner | set | messageid: <1306073221.48.0.692651180345.issue12105@psf.upfronthosting.co.za> |
2011-05-22 14:07:00 | vstinner | link | issue12105 messages |
2011-05-22 14:07:00 | vstinner | create | |
|