bpo-27961: Replace PY_LLONG_MAX, PY_LLONG_MIN and PY_ULLONG_MAX with standard macros#15385
Merged
Conversation
f76b53a to
eaf45c9
Compare
Member
|
Please open a new issue on bugs.python.org for this change. On Windows, PC/pyconfig.h does not define PY_LLONG_MIN as LLONG_MIN but _I64_MIN: Which Visual Studio versions support LLONG_MIN? I never recall what is the minimum Visual Studio version to build Python on Windows. My notes say "VS 2017" for Python 3.8 and newer: https://pythondev.readthedocs.io/windows.html#python-and-visual-studio-version-matrix |
Contributor
Author
I don't know, but it's used on Win here: cpython/Modules/_io/_iomodule.h Lines 90 to 97 in c4106af since 47ff073. |
Member
|
Ok. Visual Studio seems to be fine. Again, please open a new issue for this change. |
Member
|
Thanks @sir-sigurd ! |
sir-sigurd
added a commit
to sir-sigurd/cpython
that referenced
this pull request
Dec 9, 2019
@vstinner, I missed this one somehow in python#15385
shihai1991
pushed a commit
to shihai1991/cpython
that referenced
this pull request
Jan 31, 2020
…standard macros (pythonGH-15385) Use standard constants LLONG_MIN, LLONG_MAX and ULLONG_MAX.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://bugs.python.org/issue27961
These ones
cpython/Include/pytime.h
Lines 20 to 21 in c4106af
will be handled in #15384.