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

GH-65961: Document the deprecation of __package__ and __cached__ #124377

Merged
merged 4 commits into from
Sep 23, 2024

Conversation

brettcannon
Copy link
Member

@brettcannon brettcannon commented Sep 23, 2024

@brettcannon brettcannon merged commit 67201ad into python:main Sep 23, 2024
25 checks passed
@brettcannon brettcannon deleted the issue65961-deprecate-setting branch September 23, 2024 21:14
@miss-islington-app
Copy link

Thanks @brettcannon for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 23, 2024
…ed__` (pythonGH-124377)

The code changes for warning related to `__package__` landed in Python 3.12. `__cached__` doesn't have any changes as it isn't used but only set by the import system.
(cherry picked from commit 67201ad)

Co-authored-by: Brett Cannon <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Sep 23, 2024

GH-124380 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Sep 23, 2024
Yhg1s pushed a commit that referenced this pull request Sep 27, 2024
…hed__` (GH-124377) (#124380)

* GH-65961: Document the deprecation of `__package__` and `__cached__` (GH-124377)

The code changes for warning related to `__package__` landed in Python 3.12. `__cached__` doesn't have any changes as it isn't used but only set by the import system.
(cherry picked from commit 67201ad)

---------

Co-authored-by: Brett Cannon <[email protected]>
Co-authored-by: Barry Warsaw <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants