FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-39026: Rename Include/cpython/ header files by vstinner · Pull Request #28612 · python/cpython · GitHub

Repository navigation

bpo-39026: Rename Include/cpython/ header files - #28612

Closed
vstinner wants to merge 2 commits into
python:mainfrom
vstinner:include_cpython
Closed

vstinner wants to merge 2 commits into
python:mainfrom
vstinner:include_cpython

Conversation

vstinner commented Sep 29, 2021 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

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.

Copy link
Copy Markdown
Member Author

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.

Copy link
Copy Markdown
Member Author

I prefer to abandon my PR for now.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL