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 <rep...@bugs.python.org> <http://bugs.python.org/issue19965> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com