← 返回首页
gh-97850: Remove deprecated functions from `importlib.utils` by sobolevn · Pull Request #97898 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

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

Provide feedback

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

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

gh-97850: Remove deprecated functions from importlib.utils#97898

Merged
warsaw merged 2 commits into
python:mainfrom
sobolevn:issue-97850
Oct 7, 2022
Merged

gh-97850: Remove deprecated functions from importlib.utils#97898
warsaw merged 2 commits into
python:mainfrom
sobolevn:issue-97850

Conversation

sobolevn commented Oct 5, 2022
edited
Loading

Copy link
Copy Markdown
Member

I've cleaned up all deprecated functions from importlib.utils:

  • Source
  • Docs
  • Tests

All are gone!

sobolevn commented Oct 5, 2022

Copy link
Copy Markdown
Member Author

@brettcannon rebased! set_package is removed from the scope of this PR.

warsaw left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

Awesome! Thanks for this long overdue clean up @sobolevn !

warsaw merged commit 27025e1 into python:main Oct 7, 2022
carljm added a commit to carljm/cpython that referenced this pull request Oct 8, 2022
* main: pythongh-86298: Ensure that __loader__ and __spec__.loader agree in warnings.warn_explicit() (pythonGH-97803) pythongh-82874: Convert remaining importlib format uses to f-str. (python#98005) Docs: Fix backtick errors found by sphinx-lint (python#97998) pythongh-97850: Remove deprecated functions from `importlib.utils` (python#97898) Remove extra spaces in custom openSSL documentation. (python#93568) pythonGH-90985: Revert "Deprecate passing a message into cancel()" (python#97999)
mpage pushed a commit to mpage/cpython that referenced this pull request Oct 11, 2022
…ython#97898) * pythongh-97850: Remove deprecated functions from `importlib.utils` * Rebase and remove `set_package` from diff
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Footer

© 2026 GitHub, Inc.