Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-98040: Remove find_loader, find_module and other deprecated APIs #98059

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 39 commits into from
May 3, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
e714588
Checkpointing
warsaw Oct 7, 2022
90ca658
Remove deprecated classes from pkgutil
warsaw Oct 7, 2022
571daa4
Adjust some tests
warsaw Oct 7, 2022
e798342
More test fixing
warsaw Oct 7, 2022
acb5fb4
Remove more obsolete tests
warsaw Oct 7, 2022
40d9201
Remove some other PEP 302 obsolescence
warsaw Oct 7, 2022
455cc68
Use find_spec instead of load_module
warsaw Oct 7, 2022
bef8f9f
Remove more tests of PEP 302 obsolete APIs
warsaw Oct 7, 2022
96cdada
Remove another bunch of tests using obsolete load_modules()
warsaw Oct 7, 2022
d6adbd5
Merge branch 'main' into find_loader
warsaw Oct 7, 2022
897998f
Remove deleted names from __all__
warsaw Oct 7, 2022
1b514bb
Merge branch 'main' into find_loader
warsaw Oct 9, 2022
9708e1c
Remove obsolete footnote
warsaw Oct 9, 2022
5e33c7e
imp is removed
warsaw Oct 9, 2022
73988d8
Remove `imp` from generated stdlib names
warsaw Oct 9, 2022
4832f66
What's new and blurb
warsaw Oct 9, 2022
64d16c9
More cleanup
warsaw Oct 9, 2022
cbed6ce
Merge branch 'main' into find_loader
warsaw Oct 10, 2022
dd9d60f
Merge branch 'main' into find_loader
warsaw Oct 15, 2022
d61d2d6
Merge branch 'main' into find_loader
warsaw Oct 16, 2022
a801a7b
Merge branch 'main' into find_loader
warsaw Oct 17, 2022
8671f31
Merge branch 'main' into find_loader
warsaw Oct 18, 2022
5c5d749
Merge branch 'main' into find_loader
warsaw Oct 18, 2022
4825990
Merge branch 'main' into find_loader
warsaw Apr 29, 2023
6c0d6b6
Clean up a few docs
warsaw Apr 29, 2023
80909dd
Merge branch 'main' into find_loader
warsaw Apr 29, 2023
8e5ae79
Update zipimport documentation for the removed methods
warsaw Apr 29, 2023
afd921a
Revert back to using pkgutil._get_spec()
warsaw Apr 29, 2023
c1ab102
Fix some Windows tests
warsaw Apr 29, 2023
e266721
Update Doc/reference/import.rst
warsaw Apr 29, 2023
797a8f8
Merge branch 'main' into find_loader
warsaw Apr 29, 2023
0ae7690
We don't need pkgutil._get_spec() any more either
warsaw Apr 29, 2023
746d515
More things we don't need anymore
warsaw Apr 29, 2023
3299a19
Merge branch 'main' into find_loader
warsaw May 1, 2023
d06a9d0
Merge branch 'main' into find_loader
warsaw May 2, 2023
41ed787
Suppress cross-references to find_loader and find_module
AA-Turner May 2, 2023
378c3d9
Suppress cross-references to Finder
AA-Turner May 2, 2023
d7100cb
Suppress cross-references to pkgutil.ImpImporter and pkgutil.ImpLoader
AA-Turner May 2, 2023
2e24b8b
Merge branch 'main' into find_loader
warsaw May 2, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Suppress cross-references to pkgutil.ImpImporter and pkgutil.ImpLoader
  • Loading branch information
AA-Turner committed May 2, 2023
commit d7100cbdd2d4e06a389e335949f384e45bc4162b
4 changes: 2 additions & 2 deletions 4 Doc/whatsnew/3.10.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1686,8 +1686,8 @@ Deprecated
:func:`importlib.util.set_package_wrapper`,
:func:`importlib.util.set_loader_wrapper`,
:func:`importlib.util.module_for_loader`,
:class:`pkgutil.ImpImporter`, and
:class:`pkgutil.ImpLoader` have all been updated to list Python 3.12 as the
:class:`!pkgutil.ImpImporter`, and
:class:`!pkgutil.ImpLoader` have all been updated to list Python 3.12 as the
slated version of removal (they began raising :exc:`DeprecationWarning` in
previous versions of Python).
(Contributed by Brett Cannon in :issue:`43720`.)
Expand Down
4 changes: 2 additions & 2 deletions 4 Doc/whatsnew/3.11.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1892,8 +1892,8 @@ C APIs pending removal are
* :func:`importlib.util.module_for_loader`
* :func:`!importlib.util.set_loader_wrapper`
* :func:`!importlib.util.set_package_wrapper`
* :class:`pkgutil.ImpImporter`
* :class:`pkgutil.ImpLoader`
* :class:`!pkgutil.ImpImporter`
* :class:`!pkgutil.ImpLoader`
* :meth:`pathlib.Path.link_to`
* :func:`!sqlite3.enable_shared_cache`
* :func:`!sqlite3.OptimizedUnicode`
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.