importlib._bootstrap._object_name(obj) has no caller and can be removed.
A word-boundary search across Lib, Modules, Python, Objects, and Include finds no reference outside its own definition, and a GitHub code search finds no downstream importer. The module is frozen, so removal also needs make regen-frozen.
Linked PRs
importlib._bootstrap._object_name(obj)has no caller and can be removed.load_module()deprecation warnings.load_module()from importlib #142205) removedload_module()and those warnings, deleting the last call site.A word-boundary search across
Lib,Modules,Python,Objects, andIncludefinds no reference outside its own definition, and a GitHub code search finds no downstream importer. The module is frozen, so removal also needsmake regen-frozen.Linked PRs