Content-Length: 261514 | pFad | https://github.com/python/cpython/issues/120026

59 Deprecate (soft) Py_HUGE_VAL macro · Issue #120026 · python/cpython · GitHub
Skip to content

Deprecate (soft) Py_HUGE_VAL macro #120026

@skirpichev

Description

@skirpichev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/120026

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy