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 xtreak
Recipients docs@python, pitrou, selik, serhiy.storchaka, xtreak
Date 2020-04-14.04:10:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586837434.02.0.466436129847.issue40278@roundup.psfhosted.org>
In-reply-to
Content
replace under the hood uses os.replace. The docs for os.replace indicate error for certain scenarios where target is a directory : https://docs.python.org/3/library/os.html#os.replace . See also some difference between os.rename and os.replace : https://bugs.python.org/issue27886
History
Date User Action Args
2020-04-14 04:10:34xtreaksetrecipients: + xtreak, pitrou, docs@python, serhiy.storchaka, selik
2020-04-14 04:10:34xtreaksetmessageid: <1586837434.02.0.466436129847.issue40278@roundup.psfhosted.org>
2020-04-14 04:10:34xtreaklinkissue40278 messages
2020-04-14 04:10:33xtreakcreate