summaryrefslogtreecommitdiff
path: root/setuptools/command/install_scripts.py
diff options
context:
space:
mode:
authorPaul Ganssle <paul@ganssle.io>2018-07-11 10:23:55 -0400
committerPaul Ganssle <paul@ganssle.io>2018-07-12 09:07:51 -0400
commit342443f5034851bbd55823f2c900d7ebabe1b306 (patch)
tree5e48757d0fa6a4ecafc3169449cb5b64012e6222 /setuptools/command/install_scripts.py
parentbb36b41818b99079372dbb55b272465820d58de3 (diff)
downloadpython-setuptools-git-342443f5034851bbd55823f2c900d7ebabe1b306.tar.gz
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/command/install_scripts.py')
0 files changed, 0 insertions, 0 deletions