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 ammar2
Recipients ammar2, chris.jerdonek
Date 2019-02-11.01:33:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1549848832.92.0.113644579172.issue35951@roundup.psfhosted.org>
In-reply-to
Content
It seems this behavior is somewhat documented: https://docs.python.org/3/library/os.html#os.renames

>Works like rename(), except creation of any intermediate directories needed to make the new pathname good is attempted first.
>This function can fail with the new directory structure made if you lack permissions needed to remove the leaf directory or file.


The source directory not existing isn't the same as not having permissions to remove it but close enough.
History
Date User Action Args
2019-02-11 01:33:54ammar2setrecipients: + ammar2, chris.jerdonek
2019-02-11 01:33:52ammar2setmessageid: <1549848832.92.0.113644579172.issue35951@roundup.psfhosted.org>
2019-02-11 01:33:52ammar2linkissue35951 messages
2019-02-11 01:33:52ammar2create