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

PC/pyconfig.h: improve implicit linking code readibility by Andrej730 · Pull Request #155995 · python/cpython · GitHub

/ cpython Public

PC/pyconfig.h: improve implicit linking code readibility - #155995

Merged
zooba merged 2 commits into
python:mainfrom
Andrej730:pc-pyconfig-clarity
Aug 18, 2026
Merged

PC/pyconfig.h: improve implicit linking code readibility#155995
zooba merged 2 commits into
python:mainfrom
Andrej730:pc-pyconfig-clarity

Conversation

Copy link
Copy Markdown
Contributor

@zooba

Applying pyconfig.h readability improvements, no functional changes. Moved Py_NO_LINK_LIB check and the explaining comment to the block's header, so it will be possible to understand what this block is about without reading through details and several other defs.

Similar changes are suggested by Steve in this PR review - #19740 (review)

I also tried to remove excessive indentation as suggested in the comment (converting it from 8 spaces to 4, see 353d122), but it creates too much diff, doesn't seem worth it. So skipping it in the PR.

Andrej730 requested a review from a team as a code owner August 18, 2026 09:34
StanFromIreland added OS-windows skip issue skip news type-refactor Code refactoring (with no changes in behavior) labels Aug 18, 2026
Comment thread PC/pyconfig.h Outdated
zooba merged commit c612fd4 into python:main Aug 18, 2026
51 checks passed
Andrej730 deleted the pc-pyconfig-clarity branch August 18, 2026 16:44
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

Labels

OS-windows skip issue skip news type-refactor Code refactoring (with no changes in behavior)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL