gh-106919: Use role :c:macro: for referencing the C "constants"#106920
gh-106919: Use role :c:macro: for referencing the C "constants"#106920serhiy-storchaka merged 4 commits intopython:mainfrom
Conversation
Co-authored-by: Erlend E. Aasland <[email protected]>
|
|
||
| It is possible to pass "long" integers (integers whose value exceeds the | ||
| platform's :const:`LONG_MAX`) however no proper range checking is done --- the | ||
| platform's :c:macro:`LONG_MAX`) however no proper range checking is done --- the |
There was a problem hiding this comment.
| platform's :c:macro:`LONG_MAX`) however no proper range checking is done --- the | |
| platform's :c:macro:`!LONG_MAX`) however no proper range checking is done --- the |
There was a problem hiding this comment.
I think that it may be better to solve this for standard C names globally.
erlend-aasland
left a comment
There was a problem hiding this comment.
LGTM, with one nit. Thanks!
Co-authored-by: Ezio Melotti <[email protected]>
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to |
|
Sorry @serhiy-storchaka, I had trouble checking out the |
…stants" (pythonGH-106920). (cherry picked from commit fcc816d) Co-authored-by: Serhiy Storchaka <[email protected]>
|
GH-106951 is a backport of this pull request to the 3.12 branch. |
…stants" (pythonGH-106920). (cherry picked from commit fcc816d) Co-authored-by: Serhiy Storchaka <[email protected]>
|
GH-106952 is a backport of this pull request to the 3.11 branch. |
📚 Documentation preview 📚: https://cpython-previews--106920.org.readthedocs.build/