Skip to content

[3.13] GH-65961: Document the deprecation of __package__ and __cached__ (GH-124377) - #124380

Merged
Yhg1s merged 3 commits into
python:3.13from
miss-islington:backport-67201ad-3.13
Sep 27, 2024
Merged

Yhg1s merged 3 commits into
python:3.13from
miss-islington:backport-67201ad-3.13

Conversation

@miss-islington

@miss-islington miss-islington commented Sep 23, 2024 •

Copy link
Copy Markdown
Contributor

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 brett@python.org


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

…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 <brett@python.org>
Because these attributes were *already* deprecated, the only change now is to document those previous deprecations.

Co-authored-by: T. Wouters <thomas@python.org>
@Yhg1s
Yhg1s enabled auto-merge (squash) September 27, 2024 18:06
@Yhg1s
Yhg1s merged commit cf98f39 into python:3.13 Sep 27, 2024
@miss-islington
miss-islington deleted the backport-67201ad-3.13 branch January 2, 2026 17:57
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

4 participants