summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-07-21 13:00:46 +0200
committerGitHub <noreply@github.com>2017-07-21 13:00:46 +0200
commite72b1359f81d1dd42bd8a5c5cc2b3928b74f8023 (patch)
tree845e7c5701752a30063a95e02228c47e23c3375e /setup.py
parent3913bad4957ac30e58a7ffe9279333ad176a8eea (diff)
downloadcpython-git-e72b1359f81d1dd42bd8a5c5cc2b3928b74f8023.tar.gz
bpo-30891: Fix again importlib _find_and_load() (#2665)
Use sys.modules.get() in the "with _ModuleLockManager(name):" block to protect the dictionary key with the module lock and use an atomic get to prevent race condition. Remove also _bootstrap._POPULATE since it was unused (_bootstrap_external now has its own _POPULATE object), add a new _SENTINEL object instead.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions