diff options
author | Paul Ganssle <paul@ganssle.io> | 2018-07-11 10:23:55 -0400 |
---|---|---|
committer | Paul Ganssle <paul@ganssle.io> | 2018-07-12 09:07:51 -0400 |
commit | 342443f5034851bbd55823f2c900d7ebabe1b306 (patch) | |
tree | 5e48757d0fa6a4ecafc3169449cb5b64012e6222 /setuptools/package_index.py | |
parent | bb36b41818b99079372dbb55b272465820d58de3 (diff) | |
download | external_python_setuptools-342443f5034851bbd55823f2c900d7ebabe1b306.tar.gz external_python_setuptools-342443f5034851bbd55823f2c900d7ebabe1b306.tar.bz2 external_python_setuptools-342443f5034851bbd55823f2c900d7ebabe1b306.zip |
Fix race condition in _bypass_ensure_directory
This fixes a race condition in _bypass_ensure_directory where
two threads or processes may erroneously fail because they are
both creating the same directory. A more robust implementation
of this may involve exposing the un-wrapped os.makedirs.
Originally reported with proposed patch by @JonKohler in
github PR #1412. This patch came out of discussions on that
thread.
Diffstat (limited to 'setuptools/package_index.py')
0 files changed, 0 insertions, 0 deletions