-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
gh-119613: deprecate Py_IS_NAN/INFINITY and Py_IS_FINITE #119701
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
Changes from 4 commits
e7696ba
dd3dec5
cee4721
3ecd159
b5ede50
d4008a1
3815323
10e1bdc
97da8f2
a3c0b44
b45447f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -193,6 +193,10 @@ Porting to Python 3.14 | |||||
Deprecated | ||||||
---------- | ||||||
|
||||||
* Deprecate ``Py_IS_NAN``, ``Py_IS_INFINITY`` and ``Py_IS_FINITE`` macros, | ||||||
use instead ``isnan``, ``isinf`` and ``isfinite`` available from ``<math.h>`` | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually, these are usually macros, e.g.: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure; but this is about the markup :)
skirpichev marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
since C99. (Contributed by Sergey B Kirpichev in :gh:`119613`.) | ||||||
|
||||||
Removed | ||||||
------- | ||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Deprecate ``Py_IS_NAN``, ``Py_IS_INFINITY`` and ``Py_IS_FINITE`` macros. |
Uh oh!
There was an error while loading. Please reload this page.