bpo-35134: Move classobject.h to Include/cpython/ by vstinner · Pull Request #28968 · python/cpython (original) (raw)
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 andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation2 Commits1 Checks0 Files changed
Conversation
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
[ Show hidden characters]({{ revealButtonHref }})
Move classobject.h, context.h, genobject.h and longintrepr.h header
files from Include/ to Include/cpython/.
Remove redundant "#ifndef Py_LIMITED_API" in context.h.
Remove explicit #include "longintrepr.h" in C files. It's not needed,
Python.h already includes it.
https://bugs.python.org/issue35134
Move classobject.h, context.h, genobject.h and longintrepr.h header files from Include/ to Include/cpython/.
Remove redundant "#ifndef Py_LIMITED_API" in context.h.
Remove explicit #include "longintrepr.h" in C files. It's not needed, Python.h already includes it.
ShivnarenSrinivasan pushed a commit to ShivnarenSrinivasan/cpython that referenced this pull request
Move classobject.h, context.h, genobject.h and longintrepr.h header files from Include/ to Include/cpython/.
Remove redundant "#ifndef Py_LIMITED_API" in context.h.
Remove explicit #include "longintrepr.h" in C files. It's not needed, Python.h already includes it.
tacaswell added a commit to tacaswell/cython that referenced this pull request
tacaswell added a commit to tacaswell/cython that referenced this pull request
scoder pushed a commit to cython/cython that referenced this pull request
scoder pushed a commit to cython/cython that referenced this pull request
KaeLL mentioned this pull request
3 tasks
ghost mentioned this pull request
"Remove explicit #include "longintrepr.h" in C files. It's not needed,
Python.h already includes it." may i check which C files has this line? and which are those C files located?
may i check which C files has this line? and which are those C files located?
You can search for # *include.*longintrepr
regular expression. For example, on Linux, find -name '*.c' -print0|xargs -0 grep -l -E '# *include.*longintrepr'
lists C files which include this header file.
Eiim mentioned this pull request