Armin Rigo added the comment: 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. ---------- keywords: +patch nosy: +arigo Added file: http://bugs.python.org/file46707/x1.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29694> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com