]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-137426: Remove code deprecation of `importlib.abc.ResourceLoader` (GH-137567)
authorBrett Cannon <brett@python.org>
Mon, 11 Aug 2025 23:18:54 +0000 (16:18 -0700)
committerGitHub <noreply@github.com>
Mon, 11 Aug 2025 23:18:54 +0000 (16:18 -0700)
commit7140b99b0d0952167f7fdd747e6c28a8c8a2d768
tree70e6ac44498e5595945666170f01b1f0409c73df
parent0c83daaf458389517989bc28625e8ba8cf24e651
GH-137426: Remove code deprecation of `importlib.abc.ResourceLoader` (GH-137567)

Enough other classes in `importlib.abc` inherit from the class and the deprecation was to redirect people to `TraversableResources`. The documentation now makes it clear the class only exists for backwards compatibility.

---------

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Doc/library/importlib.rst
Lib/importlib/abc.py
Lib/test/test_importlib/test_abc.py
Misc/NEWS.d/next/Library/2025-08-08-15-00-38.gh-issue-137426.lW-Rk2.rst [new file with mode: 0644]