SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 101 Python

bpo-30891: Fix importlib _find_and_load() race condition (#2646)

* Rewrite importlib _get_module_lock(): it is now responsible to hold
  the imp lock directly.
* _find_and_load() now holds the module lock to check if name is in
  sys.modules to prevent a race condition
V
Victor Stinner committed
4f9a446f3fb42f800e73cd9414dd1eccb3ca4fa7
Parent: b136f11
Committed by GitHub <noreply@github.com> on 7/10/2017, 8:52:32 PM