[issue19965] Non-atomic generation of Include/Python-ast.h and Python/Python-ast.c

Charles-François Natali report at bugs.python.org
Thu Dec 12 20:15:47 CET 2013


Charles-François Natali added the comment:

Since the patch doesn't use O_EXCL for the temporary file, it suffers
from the exact same race condition as the current code. It should be
using the "x" open mode.

----------
nosy: +neologix

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


More information about the Python-bugs-list mailing list