[issue16860] Use O_CLOEXEC in the tempfile module

Charles-François Natali report at bugs.python.org
Fri Jan 4 15:29:22 CET 2013


Charles-François Natali added the comment:

Here's the patch.
It also removes O_NOFOLLOW, which is basically useless (if the file is created with O_CREAT|O_EXCL, then by definition it's not a symlink).

----------
keywords: +needs review, patch
type:  -> behavior
Added file: http://bugs.python.org/file28560/tempfile_cloexec.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16860>
_______________________________________


More information about the Python-bugs-list mailing list