Issue #97850 is the meta issue tracking removals of long deprecated functions from importlib. This ticket tracks just the removals of the following previously deprecated APIs:
importlib.abs.PathEntryFinder has this comment: "We don't define find_spec() here since that would break hasattr checks we do to support backward compatibility." Do we need to define find_spec() in this ABC?
warsaw
changed the title
Remove find_module() and find_loader() from Python 3.12
Remove find_module(), find_loader(), and NullImporter from Python 3.12
Oct 7, 2022
warsaw
changed the title
Remove find_module(), find_loader(), and NullImporter from Python 3.12
Remove more deprecated importlib APIs from Python 3.12
Oct 7, 2022
pkgutil.ImpImporter cannot be removed since pip 22.2.2 still uses it. This is also going to keep pkgutil.ImpLoader and the imp module around. I'm going to pause work on this branch until there's a pip upstream resolution.
warsaw commentedOct 7, 2022
•
edited
Issue #97850 is the meta issue tracking removals of long deprecated functions from importlib. This ticket tracks just the removals of the following previously deprecated APIs:
find_loader()
find_module()
imp
moduleimportlib.abc.Finder
pkgutil.ImpImporter
pkgutil.ImpLoader
The text was updated successfully, but these errors were encountered: