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
bpo-27961: Replace PY_LLONG_MAX, PY_LLONG_MIN and PY_ULLONG_MAX with standard macros #15385
Conversation
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 |
I don't know, but it's used on Win here: cpython/Modules/_io/_iomodule.h Lines 90 to 97 in c4106af
since 47ff073. |
Ok. Visual Studio seems to be fine. Again, please open a new issue for this change. |
Thanks @sir-sigurd ! |
@vstinner, I missed this one somehow in python#15385
…standard macros (pythonGH-15385) Use standard constants LLONG_MIN, LLONG_MAX and ULLONG_MAX.
https://bugs.python.org/issue27961
These ones
cpython/Include/pytime.h
Lines 20 to 21 in c4106af
will be handled in #15384.