cpython/Lib/importlib
Bernát Gábor f906522a4e
gh-150886: Remove unused importlib._bootstrap._object_name (#150884)
Introduced in GH-23469 (bpo-26131, "Deprecate usage of load_module()")
to render an object's qualified name inside the load_module()
deprecation warnings.

Orphaned by gh-142205 (GH-97850, "Remove all uses and definitions of
load_module() from importlib"), which deleted the warning-building call
sites f"{_object_name(spec.loader)}.exec_module() not found; ..." and
left the helper with no caller.

A word-boundary search across Lib, Modules, Python, Objects and Include
finds zero references outside its own definition, and a GitHub code
search finds no downstream importers. The frozen importlib was
regenerated; importlib._bootstrap._object_name no longer exists at
runtime and the full test_importlib suite passes.
2026-06-04 20:08:58 +00:00
..
metadata gh-143387: Raise an exception instead of returning None when metadata file is missing. (#146234) 2026-03-23 09:12:36 -04:00
resources gh-121190: Emit a better error message from importlib.resources.files() when module spec is None" (#148460) 2026-04-12 18:15:01 -04:00
__init__.py GH-139686: Revert "gh-139686: Make reloading a lazy module no-op (GH-139857)" (#143584) 2026-01-08 22:08:03 +00:00
_abc.py GH-97850: Remove all uses and definitions of load_module() from importlib (#142205) 2025-12-10 15:35:51 -08:00
_bootstrap.py gh-150886: Remove unused importlib._bootstrap._object_name (#150884) 2026-06-04 20:08:58 +00:00
_bootstrap_external.py gh-145506: Fixes CVE-2026-2297 by ensuring SourcelessFileLoader uses io.open_code (GH-145507) 2026-03-04 19:55:52 +00:00
abc.py gh-139899: Introduce MetaPathFinder.discover and PathEntryFinder.discover (#139900) 2026-02-19 15:25:50 +00:00
machinery.py GH-119668: expose importlib.machinery.NamespacePath (#119669) 2025-11-01 00:39:48 +00:00
readers.py
simple.py
util.py gh-122188: Move magic number to its own file (#122243) 2024-07-30 15:31:05 -04:00