[issue29694] race condition in pathlib mkdir with flags parents=True

Serhiy Storchaka report at bugs.python.org
Sat Mar 25 06:49:48 EDT 2017


Serhiy Storchaka added the comment:

You can monkey-patch os.mkdir and pathlib._NormalAccessor.mkdir.

Without tests we can't be sure that the patch fixes the issue and that the bug will be not reintroduced by future changes. Tests are required for this change.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29694>
_______________________________________


More information about the Python-bugs-list mailing list