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 arigo
Recipients arigo, whitespacer
Date 2017-03-07.06:39:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488868744.97.0.352489341809.issue29694@psf.upfronthosting.co.za>
In-reply-to
Content
A different bug in the same code: if someone creates the directory itself between the two calls to ``self._accessor.mkdir(self, mode)``, then the function will fail with an exception even if ``exist_ok=True``.

Attached is a patch that fixes both cases.
History
Date User Action Args
2017-03-07 06:39:05arigosetrecipients: + arigo, whitespacer
2017-03-07 06:39:04arigosetmessageid: <1488868744.97.0.352489341809.issue29694@psf.upfronthosting.co.za>
2017-03-07 06:39:04arigolinkissue29694 messages
2017-03-07 06:39:04arigocreate