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 whitespacer
Recipients whitespacer
Date 2017-03-02.13:53:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
When pathlib mkdir is called with parents=True and some parent doesn't exists it recursively calls self.parent.mkdir(parents=True) after catching OSError. However after catching of OSError and before call to self.parent.mkdir(parents=True) somebody else can create parent dir, which will lead to FileExistsError exception.
Date User Action Args
2017-03-02 13:53:33whitespacersetrecipients: + whitespacer
2017-03-02 13:53:33whitespacersetmessageid: <>
2017-03-02 13:53:33whitespacerlinkissue29694 messages
2017-03-02 13:53:33whitespacercreate