mirror of
https://github.com/python/cpython.git
synced 2026-05-03 09:01:07 +00:00
* 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
(cherry picked from commit 4f9a446f3f)
This commit is contained in:
parent
044e156426
commit
fe6e686c27
3 changed files with 1551 additions and 1561 deletions
3050
Python/importlib.h
3050
Python/importlib.h
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue