Tim Chase added the comment:

I do have a workaround thanks to Gregory Ewing
https://mail.python.org/pipermail/python-list/2017-May/721649.html
which suffices for my particular use-case (generating a link to a file with a 
unique filename).

As my use-case is predominantly for *nix environments, the lack of Windows' 
os.rename() atomicity is merely a 
would-be-nice-for-other-people-if-it-was-available. But I'll update my 
documentation to reflect the edge-case. Thanks, Eryk.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26362>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to