Skip to content

Commit fad8059

Browse files
[3.12] Document 3.13, 3.14 and future removals (GH-108055) (#108331)
(cherry picked from commit 39de79b) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
1 parent 3cdaa6a commit fad8059

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Doc/whatsnew/3.12.rst

+13
Original file line numberDiff line numberDiff line change
@@ -1113,6 +1113,10 @@ Modules (see :pep:`594`):
11131113
* :mod:`uu`
11141114
* :mod:`xdrlib`
11151115

1116+
Other modules:
1117+
1118+
* :mod:`!lib2to3`, and the :program:`2to3` program (:gh:`84540`)
1119+
11161120
APIs:
11171121

11181122
* :class:`!configparser.LegacyInterpolation` (:gh:`90765`)
@@ -1146,6 +1150,10 @@ Pending Removal in Python 3.14
11461150
Use :class:`ast.Constant` instead.
11471151
(Contributed by Serhiy Storchaka in :gh:`90953`.)
11481152

1153+
* :mod:`asyncio`: the *msg* parameter of both
1154+
:meth:`asyncio.Future.cancel` and
1155+
:meth:`asyncio.Task.cancel` (:gh:`90985`)
1156+
11491157
* :mod:`collections.abc`: Deprecated :class:`collections.abc.ByteString`.
11501158
Prefer :class:`Sequence` or :class:`collections.abc.Buffer`.
11511159
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
12121220
May be removed in 3.14.
12131221
(Contributed by Nikita Sobolev in :gh:`101866`.)
12141222

1223+
* Creating :c:data:`immutable types <Py_TPFLAGS_IMMUTABLETYPE>` with mutable
1224+
bases using the C API (:gh:`95388`)
1225+
12151226
Pending Removal in Future Versions
12161227
----------------------------------
12171228

12181229
The following APIs were deprecated in earlier Python versions and will be removed,
12191230
although there is currently no date scheduled for their removal.
12201231

1232+
* :mod:`array`'s ``'u'`` format code (:gh:`57281`)
1233+
12211234
* :class:`typing.Text` (:gh:`92332`)
12221235

12231236
* Currently Python accepts numeric literals immediately followed by keywords,

0 commit comments

Comments
 (0)