Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add future pending removals for 3.13, from what's new in 3.10 and 3.11
  • Loading branch information
hugovk committed May 9, 2022
commit 0291dec1025534f23ed4115a4559d3d714463071
19 changes: 19 additions & 0 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,25 @@ and will be removed in Python 3.13.
* :class:`webbrowser.MacOSX` (:issue:`42255`)
Comment thread
ezio-melotti marked this conversation as resolved.
Outdated
* :mod:`xdrlib` (:pep:`594`)
Comment thread
hugovk marked this conversation as resolved.
Outdated

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.

* :class:`typing.Text` (:gh:`92332`)

* Currently Python accepts numeric literals immediately followed by keywords,
for example ``0in x``, ``1or x``, ``0if 1else 2``. It allows confusing
and ambiguous expressions like ``[0x1for x in y]`` (which can be
interpreted as ``[0x1 for x in y]`` or ``[0x1f or x in y]``).
A deprecation warning is raised if the numeric literal is
Comment thread
hugovk marked this conversation as resolved.
Outdated
immediately followed by one of keywords :keyword:`and`, :keyword:`else`,
:keyword:`for`, :keyword:`if`, :keyword:`in`, :keyword:`is` and :keyword:`or`.
In future releases it will be changed to syntax warning, and finally to
syntax error. (:issue:`43833`)


Removed
=======

Expand Down