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-122085: Use include files for whatsnew/3.14.rst deprecations #122242

Merged
merged 7 commits into from
Jul 27, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
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
2 changes: 2 additions & 0 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1336,6 +1336,8 @@ Deprecated

.. include:: ../deprecations/pending-removal-in-3.15.rst

.. include:: ../deprecations/pending-removal-in-3.16.rst

.. include:: ../deprecations/pending-removal-in-future.rst

Removed
Expand Down
32 changes: 20 additions & 12 deletions Doc/whatsnew/3.14.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@ pathlib

(Contributed by Barney Gale in :gh:`73991`.)

pickle
------

* Set the default protocol version on the :mod:`pickle` module to 5.
For more details, please see :ref:`pickle protocols <pickle-protocols>`.

hugovk marked this conversation as resolved.
Show resolved Hide resolved
pdb
---

Expand All @@ -162,12 +168,7 @@ symtable

(Contributed by Bénédikt Tran in :gh:`120029`.)

pickle
------

* Set the default protocol version on the :mod:`pickle` module to 5.
For more details, please see :ref:`pickle protocols <pickle-protocols>`.

.. Add improved modules above alphabetically, not here at the end.

Optimizations
=============
Expand All @@ -180,24 +181,32 @@ asyncio
reduces memory usage.
(Contributed by Kumar Aditya in :gh:`107803`.)



Deprecated
==========

* Passing a complex number as the *real* or *imag* argument in the
* :mod:`builtins`:
Passing a complex number as the *real* or *imag* argument in the
:func:`complex` constructor is now deprecated; it should only be passed
as a single positional argument.
(Contributed by Serhiy Storchaka in :gh:`109218`.)

* :term:`Soft deprecate <soft deprecated>` :func:`os.popen` and
* :mod:`os`:
:term:`Soft deprecate <soft deprecated>` :func:`os.popen` and
:func:`os.spawn* <os.spawnl>` functions. They should no longer be used to
write new code. The :mod:`subprocess` module is recommended instead.
(Contributed by Victor Stinner in :gh:`120743`.)

* Deprecate :meth:`symtable.Class.get_methods` due to the lack of interest.
* :mod:`symtable`:
Deprecate :meth:`symtable.Class.get_methods` due to the lack of interest.
hugovk marked this conversation as resolved.
Show resolved Hide resolved
(Contributed by Bénédikt Tran in :gh:`119698`.)

.. Add deprecations above alphabetically, not here at the end.

.. include:: ../deprecations/pending-removal-in-3.15.rst

.. include:: ../deprecations/pending-removal-in-3.16.rst

.. include:: ../deprecations/pending-removal-in-future.rst

Removed
=======
Expand Down Expand Up @@ -257,7 +266,6 @@ asyncio

(Contributed by Kumar Aditya in :gh:`120804`.)


collections.abc
---------------

Expand Down
Loading