Skip to content

Deprecate (soft) Py_HUGE_VAL macro #120026

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

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

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
picnixz pushed a commit to picnixz/cpython that referenced this issue Dec 8, 2024
ebonnal pushed a commit to ebonnal/cpython that referenced this issue Jan 12, 2025
@hugovk hugovk closed this as completed Jan 28, 2025
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

2 participants