diff options
author | Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | 2024-07-27 11:17:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-27 11:17:54 (GMT) |
commit | 4e7550934941050f54c86338cd5e40cd565ceaf2 (patch) | |
tree | 2602a977809dc5be6bab63cca3a0e3f79e2d988e /Doc/deprecations | |
parent | 4e04d1a3d237abd0cba354024556c39519e0d163 (diff) | |
download | cpython-4e7550934941050f54c86338cd5e40cd565ceaf2.zip cpython-4e7550934941050f54c86338cd5e40cd565ceaf2.tar.gz cpython-4e7550934941050f54c86338cd5e40cd565ceaf2.tar.bz2 |
gh-122085: Use include files for `whatsnew/3.14.rst` deprecations (#122242)
Diffstat (limited to 'Doc/deprecations')
-rw-r--r-- | Doc/deprecations/pending-removal-in-3.16.rst | 7 | ||||
-rw-r--r-- | Doc/deprecations/pending-removal-in-future.rst | 4 |
2 files changed, 10 insertions, 1 deletions
diff --git a/Doc/deprecations/pending-removal-in-3.16.rst b/Doc/deprecations/pending-removal-in-3.16.rst index 97e6bf2..10cb5e4 100644 --- a/Doc/deprecations/pending-removal-in-3.16.rst +++ b/Doc/deprecations/pending-removal-in-3.16.rst @@ -1,5 +1,10 @@ Pending Removal in Python 3.16 ------------------------------ -* :class:`array.array` ``'u'`` type (:c:type:`wchar_t`): +* :mod:`array`: + :class:`array.array` ``'u'`` type (:c:type:`wchar_t`): use the ``'w'`` type instead (``Py_UCS4``). + +* :mod:`symtable`: + Deprecate :meth:`symtable.Class.get_methods` due to the lack of interest. + (Contributed by Bénédikt Tran in :gh:`119698`.) diff --git a/Doc/deprecations/pending-removal-in-future.rst b/Doc/deprecations/pending-removal-in-future.rst index db6a41f..7f10d9a 100644 --- a/Doc/deprecations/pending-removal-in-future.rst +++ b/Doc/deprecations/pending-removal-in-future.rst @@ -34,6 +34,10 @@ although there is currently no date scheduled for their removal. :class:`complex`: these methods will be required to return an instance of :class:`complex`. * Delegation of ``int()`` to ``__trunc__()`` method. + * 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`.) * :mod:`calendar`: ``calendar.January`` and ``calendar.February`` constants are deprecated and replaced by :data:`calendar.JANUARY` and |