diff options
author | Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | 2024-11-10 00:48:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-10 00:48:33 (GMT) |
commit | 450db61a78989c5a1f1106be01e071798c783cf9 (patch) | |
tree | cbc9aaf5ab94642bf129b54a5eb9d16815d762a4 /Doc/deprecations | |
parent | 9d08423b6e0fa89ce9cfea08e580ed72e5db8c70 (diff) | |
download | cpython-450db61a78989c5a1f1106be01e071798c783cf9.zip cpython-450db61a78989c5a1f1106be01e071798c783cf9.tar.gz cpython-450db61a78989c5a1f1106be01e071798c783cf9.tar.bz2 |
Postpone `module.__loader__` deprecation to Python 3.16 (#126482)
Diffstat (limited to 'Doc/deprecations')
-rw-r--r-- | Doc/deprecations/pending-removal-in-3.14.rst | 7 | ||||
-rw-r--r-- | Doc/deprecations/pending-removal-in-3.16.rst | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/Doc/deprecations/pending-removal-in-3.14.rst b/Doc/deprecations/pending-removal-in-3.14.rst index 1904465..6159fa4 100644 --- a/Doc/deprecations/pending-removal-in-3.14.rst +++ b/Doc/deprecations/pending-removal-in-3.14.rst @@ -1,13 +1,6 @@ Pending removal in Python 3.14 ------------------------------ -* The import system: - - * Setting :attr:`~module.__loader__` on a module while - failing to set :attr:`__spec__.loader <importlib.machinery.ModuleSpec.loader>` - is deprecated. In Python 3.14, :attr:`!__loader__` will cease to be set or - taken into consideration by the import system or the standard library. - * :mod:`argparse`: The *type*, *choices*, and *metavar* parameters of :class:`!argparse.BooleanOptionalAction` are deprecated and will be removed in 3.14. diff --git a/Doc/deprecations/pending-removal-in-3.16.rst b/Doc/deprecations/pending-removal-in-3.16.rst index fac500d..6f6954b 100644 --- a/Doc/deprecations/pending-removal-in-3.16.rst +++ b/Doc/deprecations/pending-removal-in-3.16.rst @@ -1,6 +1,13 @@ Pending removal in Python 3.16 ------------------------------ +* The import system: + + * Setting :attr:`~module.__loader__` on a module while + failing to set :attr:`__spec__.loader <importlib.machinery.ModuleSpec.loader>` + is deprecated. In Python 3.16, :attr:`!__loader__` will cease to be set or + taken into consideration by the import system or the standard library. + * :mod:`array`: * The ``'u'`` format code (:c:type:`wchar_t`) |