mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-106535: Document soft deprecations in What's New In Python 3.13 (#106859)
This commit is contained in:
parent
aecf6aca51
commit
3535ef1eec
1 changed files with 12 additions and 0 deletions
|
@ -184,6 +184,13 @@ Deprecated
|
|||
Replace ``ctypes.ARRAY(item_type, size)`` with ``item_type * size``.
|
||||
(Contributed by Victor Stinner in :gh:`105733`.)
|
||||
|
||||
* The :mod:`getopt` and :mod:`optparse` modules are now
|
||||
:term:`soft deprecated`: the :mod:`argparse` should be used for new projects.
|
||||
Previously, the :mod:`optparse` module was already deprecated, its removal
|
||||
was not scheduled, and no warnings was emitted: so there is no change in
|
||||
practice.
|
||||
(Contributed by Victor Stinner in :gh:`106535`.)
|
||||
|
||||
Pending Removal in Python 3.14
|
||||
------------------------------
|
||||
|
||||
|
@ -946,6 +953,11 @@ Removed
|
|||
:c:func:`PyInterpreterState_Get()` on Python 3.8 and older.
|
||||
(Contributed by Victor Stinner in :gh:`106320`.)
|
||||
|
||||
* The :c:func:`PyModule_AddObject` function is now :term:`soft deprecated`:
|
||||
:c:func:`PyModule_Add` or :c:func:`PyModule_AddObjectRef` functions should
|
||||
be used instead.
|
||||
(Contributed by Serhiy Storchaka in :gh:`86493`.)
|
||||
|
||||
Pending Removal in Python 3.14
|
||||
------------------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue