Skip to content

[3.14] GH-137426: Remove code deprecation of importlib.abc.ResourceLoader (GH-137567) #137654

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 12, 2025

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 11, 2025

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.


(cherry picked from commit 7140b99)

Co-authored-by: Brett Cannon brett@python.org
Co-authored-by: Hugo van Kemenade 1324225+hugovk@users.noreply.github.com


📚 Documentation preview 📚: https://cpython-previews--137654.org.readthedocs.build/

…ader` (pythonGH-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.

---------
(cherry picked from commit 7140b99)

Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@brettcannon
Copy link
Member

@hugovk adding you for cherrypicking into 3.14.0rc2 .

@hugovk hugovk merged commit daed07a into python:3.14 Aug 12, 2025
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-importlib type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants