summaryrefslogtreecommitdiffstats
path: root/Doc/deprecations
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2024-09-23 21:14:33 (GMT)
committerGitHub <noreply@github.com>2024-09-23 21:14:33 (GMT)
commit67201ad53ff11576c69a9b762540b77128285f8d (patch)
treec9b5cfe3cb1de03d618060d4ec0c343a2fe10a12 /Doc/deprecations
parent41e7992e319faba91b0c75a767b36ff8628a8368 (diff)
downloadcpython-67201ad53ff11576c69a9b762540b77128285f8d.zip
cpython-67201ad53ff11576c69a9b762540b77128285f8d.tar.gz
cpython-67201ad53ff11576c69a9b762540b77128285f8d.tar.bz2
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.
Diffstat (limited to 'Doc/deprecations')
-rw-r--r--Doc/deprecations/pending-removal-in-3.14.rst3
-rw-r--r--Doc/deprecations/pending-removal-in-3.15.rst3
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/deprecations/pending-removal-in-3.14.rst b/Doc/deprecations/pending-removal-in-3.14.rst
index 6c831ae..452d664 100644
--- a/Doc/deprecations/pending-removal-in-3.14.rst
+++ b/Doc/deprecations/pending-removal-in-3.14.rst
@@ -47,9 +47,6 @@ Pending Removal in Python 3.14
* :mod:`email`: Deprecated the *isdst* parameter in :func:`email.utils.localtime`.
(Contributed by Alan Williams in :gh:`72346`.)
-* :mod:`importlib`: ``__package__`` and ``__cached__`` will cease to be set or
- taken into consideration by the import system (:gh:`97879`).
-
* :mod:`importlib.abc` deprecated classes:
* :class:`!importlib.abc.ResourceReader`
diff --git a/Doc/deprecations/pending-removal-in-3.15.rst b/Doc/deprecations/pending-removal-in-3.15.rst
index f7145a8..b921b4f 100644
--- a/Doc/deprecations/pending-removal-in-3.15.rst
+++ b/Doc/deprecations/pending-removal-in-3.15.rst
@@ -17,6 +17,9 @@ Pending Removal in Python 3.15
* The :option:`!--cgi` flag to the :program:`python -m http.server`
command-line interface has been deprecated since Python 3.13.
+* :mod:`importlib`: ``__package__`` and ``__cached__`` will cease to be set or
+ taken into consideration by the import system (:gh:`97879`).
+
* :class:`locale`:
* The :func:`~locale.getdefaultlocale` function