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

Armin Rigo report at bugs.python.org
Tue Mar 28 10:27:12 EDT 2017


Armin Rigo added the comment:

Changes including a test.  The test should check all combinations of "concurrent" creation of the directory.  It hacks around at pathlib._normal_accessor.mkdir (patching "os.mkdir" has no effect, as the built-in function was already extracted and stored inside pathlib._normal_accessor).

----------
Added file: http://bugs.python.org/file46764/x2.diff

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


More information about the Python-bugs-list mailing list