Title: Deprecate (soft) Py_HUGE_VAL macro · Issue #120026 · python/cpython · GitHub
Open Graph Title: Deprecate (soft) Py_HUGE_VAL macro · Issue #120026 · python/cpython
X Title: Deprecate (soft) Py_HUGE_VAL macro · Issue #120026 · python/cpython
Description: 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...
Open Graph Description: 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 ca...
X Description: 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 suc...
Opengraph URL: https://github.com/python/cpython/issues/120026
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Deprecate (soft) Py_HUGE_VAL macro","articleBody":"# Feature or enhancement\n\n### Proposal:\n\nNowadays, 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](https://github.com/python/cpython/pull/104202#discussion_r1187191082).\n\n### Has this already been discussed elsewhere?\n\nThis is a minor feature, which does not need previous discussion elsewhere\n\n### Links to previous discussion of this feature:\n\n_No response_\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-120027\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/skirpichev","@type":"Person","name":"skirpichev"},"datePublished":"2024-06-04T10:36:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/120026/cpython/issues/120026"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ed9d2e1a-8abd-c7c5-47e8-0cb8c626d1ee |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EDE6:19FB97:AAC30D:EF29C5:696A26F6 |
| html-safe-nonce | e675a44e0784b2974027b39fd1fe9d9764ee93c46ee0ff4063399d16020f3e41 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREU2OjE5RkI5NzpBQUMzMEQ6RUYyOUM1OjY5NkEyNkY2IiwidmlzaXRvcl9pZCI6Ijg4NzgwMTgzNjEyMTE2MjcyNTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 48d131261ae0af112b4f771e585da5a98fd17613b449c35691bfab9d7152095e |
| hovercard-subject-tag | issue:2333174542 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/120026/issue_layout |
| twitter:image | https://opengraph.githubassets.com/30cfda3745866c6350dca5e85cb25184d78e3a8fcfaba0563fa38d1eea8467a7/python/cpython/issues/120026 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/30cfda3745866c6350dca5e85cb25184d78e3a8fcfaba0563fa38d1eea8467a7/python/cpython/issues/120026 |
| og:image:alt | 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 ca... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | skirpichev |
| hostname | github.com |
| expected-hostname | github.com |
| None | a1022f03e4f0d91ea173e4e5dac892c982e0588c62f1ce56121d755a320a3569 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f472b8e6c7b3fdd5d0354972a3f4c516289bf0be |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width