Skip to content
Prev Previous commit
Next Next commit
Address review: emphasise soft deprecation
  • Loading branch information
skirpichev committed May 29, 2024
commit d4008a132108eb61e4cd3d7a0ea4097644c9663a
6 changes: 4 additions & 2 deletions Doc/whatsnew/3.14.rst
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,10 @@ Porting to Python 3.14
Deprecated
----------

* Deprecate :c:macro:`!Py_IS_NAN`, :c:macro:`!Py_IS_INFINITY` and :c:macro:`!Py_IS_FINITE` macros,
use instead :c:macro:`!isnan`, :c:macro:`!isinf` and :c:macro:`!isfinite` available from :file:`math.h`
* Macros :c:macro:`!Py_IS_NAN`, :c:macro:`!Py_IS_INFINITY`
and :c:macro:`!Py_IS_FINITE` are :term:`soft deprecated`,
use instead :c:macro:`!isnan`, :c:macro:`!isinf` and
:c:macro:`!isfinite` available from :file:`math.h`
since C99. (Contributed by Sergey B Kirpichev in :gh:`119613`.)

Removed
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Deprecate ``Py_IS_NAN``, ``Py_IS_INFINITY`` and ``Py_IS_FINITE`` macros.
Macros ``Py_IS_NAN``, ``Py_IS_INFINITY`` and ``Py_IS_FINITE``
are :term:`soft deprecated`.