Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-92308 What's New: list pending removals in 3.13 and future versions #92562

Merged
merged 7 commits into from
Jun 6, 2022
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`)
ezio-melotti marked this conversation as resolved.
Show resolved Hide resolved
* :mod:`xdrlib` (:pep:`594`)
hugovk marked this conversation as resolved.
Show resolved Hide resolved

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
hugovk marked this conversation as resolved.
Show resolved Hide resolved
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