Skip to content

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commented Sep 29, 2021

Header files of the Include/cpython/ subdirectory now get a
"cpython_" prefix in their filename to avoid confusion between
Include/

.h and Include/cpython/<header.h> (previously both
files had the same name), especially when a cpython header file
includes another cpython header file. Headers of the Include/cpython/
subdirectory cannot be included directly, so this change has no
impact on the C API.

cpython_pystate.h now includes "cpython_initconfig.h" rather than
"cpython/initconfig.h" to fix building Python on macOS Framework.

https://bugs.python.org/issue39026

Header files of the Include/cpython/ subdirectory now get a "cpython_" prefix in their filename to avoid confusion between Include/<header>.h and Include/cpython/<header.h> (previously both files had the same name), especially when a cpython header file includes another cpython header file. Headers of the Include/cpython/ subdirectory cannot be included directly, so this change has no impact on the C API. cpython_pystate.h now includes "cpython_initconfig.h" rather than "cpython/initconfig.h" to fix building Python on macOS Framework.
@vstinner
Copy link
MemberAuthor

Windows (x86) Failing

That's a known test_asyncio bug: test_sendfile_close_peer_in_the_middle_of_receiving. It's unrelated to my PR.

@vstinner
Copy link
MemberAuthor

I prefer to abandon my PR for now.

@vstinnervstinner deleted the include_cpython branch October 12, 2021 23:37
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner@the-knights-who-say-ni@bedevere-bot