New submission from nobody <pete...@xs4all.nl>:
When using threads, os.replace gives no errors on Linux. On Windows however you get PermissionErrors like: '[WinError 5] Access is denied' for os.replace and '[Errno 13] Permission denied' when reading the os.replace file. The only way I could get this to work was to add retries with delay. At least the documentation should be improved. ---------- messages: 407864 nosy: hancos priority: normal severity: normal status: open title: os.replace is not cross-platform: at least improve documentation type: behavior versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46003> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com