summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-08-22 19:38:13 (GMT)
committerGitHub <noreply@github.com>2023-08-22 19:38:13 (GMT)
commitfad80598dc0c5a6c1b9bc9802e80a0f9686628fe (patch)
treee7186d94a103bb7494835bf9071b03d691ea9a86 /Doc/whatsnew
parent3cdaa6a7941696c30c774f9dc5b0bad72f8f07e2 (diff)
downloadcpython-fad80598dc0c5a6c1b9bc9802e80a0f9686628fe.zip
cpython-fad80598dc0c5a6c1b9bc9802e80a0f9686628fe.tar.gz
cpython-fad80598dc0c5a6c1b9bc9802e80a0f9686628fe.tar.bz2
[3.12] Document 3.13, 3.14 and future removals (GH-108055) (#108331)
(cherry picked from commit 39de79b345f925ce3bbb79b33534872fe0c90877) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.12.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index 2084f4e..dca4fd9 100644
--- a/Doc/whatsnew/3.12.rst
+++ b/Doc/whatsnew/3.12.rst
@@ -1113,6 +1113,10 @@ Modules (see :pep:`594`):
* :mod:`uu`
* :mod:`xdrlib`
+Other modules:
+
+* :mod:`!lib2to3`, and the :program:`2to3` program (:gh:`84540`)
+
APIs:
* :class:`!configparser.LegacyInterpolation` (:gh:`90765`)
@@ -1146,6 +1150,10 @@ Pending Removal in Python 3.14
Use :class:`ast.Constant` instead.
(Contributed by Serhiy Storchaka in :gh:`90953`.)
+* :mod:`asyncio`: the *msg* parameter of both
+ :meth:`asyncio.Future.cancel` and
+ :meth:`asyncio.Task.cancel` (:gh:`90985`)
+
* :mod:`collections.abc`: Deprecated :class:`collections.abc.ByteString`.
Prefer :class:`Sequence` or :class:`collections.abc.Buffer`.
For use in typing, prefer a union, like ``bytes | bytearray``, or :class:`collections.abc.Buffer`.
@@ -1212,12 +1220,17 @@ Pending Removal in Python 3.14
May be removed in 3.14.
(Contributed by Nikita Sobolev in :gh:`101866`.)
+* Creating :c:data:`immutable types <Py_TPFLAGS_IMMUTABLETYPE>` with mutable
+ bases using the C API (:gh:`95388`)
+
Pending Removal in Future Versions
----------------------------------
The following APIs were deprecated in earlier Python versions and will be removed,
although there is currently no date scheduled for their removal.
+* :mod:`array`'s ``'u'`` format code (:gh:`57281`)
+
* :class:`typing.Text` (:gh:`92332`)
* Currently Python accepts numeric literals immediately followed by keywords,