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 neologix
Recipients barry, brett.cannon, christian.heimes, doko, ncoghlan, neologix, pitrou, python-dev, r.david.murray, vstinner
Date 2013-05-20.22:14:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <20130520180000.302d24f6@anarchist>
The workaround would be to unlink the file first, and then try to
create it with O_EXCL. You have a short window where there's no file,
but that shouldn't be a problem in this specific case, and it would
work on Windows.

As for issue #17222, well, many applications use temporary files and
rename (e.g. most web browsers), so I'd be tempted to say "don't do
Of course, I would feel kinda bad if Python broke Debian's builders (I
don't care about Gentoo though ;-)

Its funny how an seemingly harmless change can introduce nasty regressions...
Date User Action Args
2013-05-20 22:14:26neologixsetrecipients: + neologix, barry, brett.cannon, doko, ncoghlan, pitrou, vstinner, christian.heimes, r.david.murray, python-dev
2013-05-20 22:14:26neologixlinkissue13146 messages
2013-05-20 22:14:26neologixcreate