Skip to content
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

Deprecate (soft) Py_HUGE_VAL macro #120026

Open
skirpichev opened this issue Jun 4, 2024 · 0 comments
Open

Deprecate (soft) Py_HUGE_VAL macro #120026

skirpichev opened this issue Jun 4, 2024 · 0 comments
Labels
type-feature A feature request or enhancement

Comments

@skirpichev
Copy link
Member

skirpichev commented Jun 4, 2024

Feature or enhancement

Proposal:

Nowadays, it's just an alias for Py_INFINITY. Using both macros in single codebase, probably, slightly confuse code readers. I think it worth to replace all such cases to Py_INFINITY, as mentioned in this comment.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

@skirpichev skirpichev added the type-feature A feature request or enhancement label Jun 4, 2024
skirpichev added a commit to skirpichev/cpython that referenced this issue Jun 4, 2024
skirpichev added a commit to skirpichev/cpython that referenced this issue Jun 4, 2024
vstinner pushed a commit that referenced this issue Nov 1, 2024
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant