16.05.19 11:28, Barry Scott пише:
To replace one symlink with another atomically is possible by using rename() or renameat() something like:os.symlink( src, tmp_symlink ) os.rename( tmp_symlink, dst )
Somebody can replace tmp_symlink between os.symlink() and os.rename(). _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/