X Tutup
The Wayback Machine - https://web.archive.org/web/20220216113341/https://github.com/python/cpython/pull/28312/files
Skip to content
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

bpo-42135 Correct version slated for importlib.find_loader removal #28312

Merged
merged 2 commits into from Sep 13, 2021
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -79,7 +79,7 @@ def find_loader(name, path=None):
"""
warnings.warn('Deprecated since Python 3.4 and slated for removal in '
'Python 3.10; use importlib.util.find_spec() instead',
'Python 3.12; use importlib.util.find_spec() instead',
DeprecationWarning, stacklevel=2)
try:
loader = sys.modules[name].__loader__
@@ -0,0 +1,3 @@
Fix typo: ``importlib.find_loader`` is really slated for removal in Python 3.12 not 3.10, like the others in GH-25169.

Patch by Hugo van Kemenade.
X Tutup