cpython/Lib/test/test_importlib
Chris Markiewicz 200271c61d
gh-114763: Protect lazy loading modules from attribute access races (GH-114781)
Setting the __class__ attribute of a lazy-loading module to ModuleType enables other threads to attempt to access attributes before the loading is complete. Now that is protected by a lock.
2024-02-23 16:02:16 -08:00
..
builtin
data
extension
frozen
import_
namespace_pkgs
partial
resources
source
__init__.py
__main__.py
_context.py
_path.py
abc.py
fixtures.py
stubs.py
test_abc.py
test_api.py
test_lazy.py gh-114763: Protect lazy loading modules from attribute access races (GH-114781) 2024-02-23 16:02:16 -08:00
test_locks.py
test_main.py gh-114107: Fix importlib.resources symlink test if symlinks aren't supported (#114108) 2024-01-16 16:10:03 +01:00
test_metadata_api.py
test_namespace_pkgs.py
test_pkg_import.py
test_spec.py
test_threaded_import.py
test_util.py
test_windows.py
test_zip.py
threaded_import_hangers.py
util.py