Skip to content
Closed
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
Merge remote-tracking branch 'upstream/main' into document-pending-re…
…movals
  • Loading branch information
hugovk committed Jul 29, 2022
commit 9a78b961eccc791e75d91f9e6a8a134de8588ab5
30 changes: 23 additions & 7 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,10 @@ Deprecated
and tailor them to your needs.
(Contributed by Erlend E. Aasland in :gh:`90016`.)


Pending Removal in Python 3.13
------------------------------

The following modules and APIs have been deprecated in earlier Python releases,
The following have been deprecated in earlier Python releases,
and will be removed in Python 3.13.

Modules (see :pep:`594`):
Expand Down Expand Up @@ -186,20 +185,36 @@ APIs:
* :class:`webbrowser.MacOSX` (:gh:`86421`)

Pending Removal in Python 3.14
==============================
------------------------------

The following modules and APIs have been deprecated in earlier Python releases,
The following have been deprecated in earlier Python releases,
and will be removed in Python 3.14.

Classes:

* Deprecated the following :mod:`importlib.abc` classes:
Comment thread
hugovk marked this conversation as resolved.
Outdated

* :class:`importlib.abc.ResourceReader`
* :class:`importlib.abc.Traversable`
* :class:`importlib.abc.TraversableResources`

Use :mod:`importlib.resources.abc` classes instead:

* :class:`importlib.resources.abc.TraversableResources`
* :class:`importlib.resources.abc.Traversable`
* :class:`importlib.resources.abc.TraversableResources`

(Contributed by Jason R. Coombs and Hugo van Kemenade in :gh:`93963`.)

APIs:

* :meth:`asyncio.Future.cancel`'s *msg* parameter (:gh:`90985`)
* :meth:`asyncio.Task.cancel`'s *msg* parameter (:gh:`90985`)

Pending Removal in Python 4.0
Comment thread
hugovk marked this conversation as resolved.
Outdated
=============================
-----------------------------

The following modules and APIs have been deprecated in earlier Python releases,
The following have been deprecated in earlier Python releases,
and will be removed in Python 4.0.
Comment thread
hugovk marked this conversation as resolved.
Outdated

APIs:
Expand All @@ -209,7 +224,7 @@ APIs:
Pending Removal in Future Versions
----------------------------------

The following APIs were deprecated in earlier Python versions and will be removed,
The following 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`)
Expand All @@ -236,6 +251,7 @@ although there is currently no date scheduled for their removal.
:class:`~asyncio.StreamReader`, :class:`~asyncio.StreamReaderProtocol`.
(:gh:`83710`)


Removed
=======

Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.