This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Arfrever, benjamin.peterson, brett.cannon, georg.brandl, ncoghlan, neologix, serhiy.storchaka
Date 2013-12-12.19:37:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386877076.71.0.341627498601.issue19965@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2013-12-12 19:37:56serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, georg.brandl, ncoghlan, benjamin.peterson, Arfrever, neologix
2013-12-12 19:37:56serhiy.storchakasetmessageid: <1386877076.71.0.341627498601.issue19965@psf.upfronthosting.co.za>
2013-12-12 19:37:56serhiy.storchakalinkissue19965 messages
2013-12-12 19:37:56serhiy.storchakacreate