cpython/Lib/importlib
Victor Stinner bb323b261d bpo-30891: Fix again importlib _find_and_load() (#2665) (#2801)
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.
(cherry picked from commit e72b1359f8)
2017-07-21 13:28:55 +02:00
..
__init__.py bpo-29862: Fix grammar in importlib.reload() exception (GH-809) (GH-811) 2017-03-25 03:41:59 -07:00
_bootstrap.py bpo-30891: Fix again importlib _find_and_load() (#2665) (#2801) 2017-07-21 13:28:55 +02:00
_bootstrap_external.py Issue #28896: Disable WindowsRegistryFinder by default. 2016-12-12 11:17:59 -08:00
abc.py Issue #26186: Remove an invalid type check in 2016-02-20 18:35:41 -08:00
machinery.py Issue #23911: Move path-based bootstrap code to a separate frozen module. 2015-05-02 19:15:18 -06:00
util.py Issue #26186: Remove the restriction that built-in and extension 2016-06-25 10:58:17 -07:00