]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] GH-65961: Document the deprecation of `__package__` and `__cached__` (GH-12437...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 27 Sep 2024 18:53:35 +0000 (20:53 +0200)
committerGitHub <noreply@github.com>
Fri, 27 Sep 2024 18:53:35 +0000 (18:53 +0000)
commitcf98f39103f476efd0bf7e9a4b36c3213354c7dd
tree2ed82548af9e63c64025a9442ec7791fe3460caa
parent862ec8bd512c5a94e98ff657a0945c1a18e09183
[3.13] GH-65961: Document the deprecation of `__package__` and `__cached__` (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 67201ad53ff11576c69a9b762540b77128285f8d)

---------

Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: Barry Warsaw <barry@python.org>
Doc/deprecations/pending-removal-in-3.14.rst
Doc/deprecations/pending-removal-in-3.15.rst
Doc/reference/import.rst
Misc/NEWS.d/next/Core_and_Builtins/2024-09-23-13-25-27.gh-issue-65961.LDqXV2.rst [new file with mode: 0644]