[issue19965] Non-atomic generation of Include/Python-ast.h and Python/Python-ast.c
Serhiy Storchaka
report at bugs.python.org
Thu Dec 12 20:37:56 CET 2013
Serhiy Storchaka 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.
This does not make race condition. Only one thread writes .tmp files.
The problem is that other threads can read *-ast.[ch] files while they are written.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19965>
_______________________________________
More information about the Python-bugs-list
mailing list