[New-bugs-announce] [issue46003] os.replace is not cross-platform: at least improve documentation

nobody report at bugs.python.org
Mon Dec 6 16:20:05 EST 2021


New submission from nobody <peterpm at 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 <report at bugs.python.org>
<https://bugs.python.org/issue46003>
_______________________________________


More information about the New-bugs-announce mailing list