-
-
Notifications
You must be signed in to change notification settings - Fork 33.3k
gh-141004: soft-deprecate Py_INFINITY macro #141033
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
base: main
Are you sure you want to change the base?
gh-141004: soft-deprecate Py_INFINITY macro #141033
Conversation
|
Waiting for feedback in the issue thread. I'm planning soft-deprecate also Py_NAN. |
Co-authored-by: Victor Stinner <vstinner@python.org>
|
I'll add docs here too. |
vstinner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ZeroIntensity
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have much of an opinion here, I think this is fine. Would you mind creating a PR for <3.15 documenting this without the deprecation?
|
(Let's also wait on the C API WG before landing this one.) |
See #141145. |
📚 Documentation preview 📚: https://cpython-previews--141033.org.readthedocs.build/