• Victor Stinner's avatar
    bpo-30891: Fix again importlib _find_and_load() (#2665) · e72b1359
    Victor Stinner yazdı
    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.
    e72b1359
Adı
Son kayıt (commit)
Son güncelleme
..
__init__.py Loading commit data...
_bootstrap.py Loading commit data...
_bootstrap_external.py Loading commit data...
abc.py Loading commit data...
machinery.py Loading commit data...
util.py Loading commit data...