Skip to content

gh-143135: Fix sys.flags.inspect when PYTHONINSPECT=0 - #143136

Merged
serhiy-storchaka merged 5 commits into
python:mainfrom
StanFromIreland:PYTHONINSPECT
Dec 24, 2025
Merged

serhiy-storchaka merged 5 commits into
python:mainfrom
StanFromIreland:PYTHONINSPECT

Conversation

@StanFromIreland

@StanFromIreland StanFromIreland commented Dec 24, 2025 •

Copy link
Copy Markdown
Member

Comment thread Python/initconfig.c Resolved
@serhiy-storchaka serhiy-storchaka added needs backport to 3.13 only security fixes needs backport to 3.14 bugs and security fixes labels Dec 24, 2025
Co-authored-by: Victor Stinner <[email protected]>

@serhiy-storchaka serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 👍

Sorry for been so picky.

@StanFromIreland

Copy link
Copy Markdown
Member Author

Sorry for been so picky.

No worries, I was busy and the commits were not as good as they should be. Merry Christmas!

@serhiy-storchaka
serhiy-storchaka merged commit 3509fa5 into python:main Dec 24, 2025
@miss-islington-app

Copy link
Copy Markdown

Thanks @StanFromIreland for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 24, 2025
@miss-islington-app

Copy link
Copy Markdown

Sorry, @StanFromIreland and @serhiy-storchaka, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 3509fa5a12855805f0c6d7f8a6a3b162744a8fd4 3.13

@bedevere-app

bedevere-app Bot commented Dec 24, 2025

Copy link
Copy Markdown

GH-143153 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Dec 24, 2025
@serhiy-storchaka serhiy-storchaka changed the title gh-143135: Make PYTHONINSPECT check consistent gh-143135: Fix sys.flags.inspect when PYTHONINSPECT=0 Dec 24, 2025
serhiy-storchaka pushed a commit that referenced this pull request Dec 24, 2025
@StanFromIreland
StanFromIreland deleted the PYTHONINSPECT branch December 24, 2025 18:41
StanFromIreland added a commit to StanFromIreland/cpython that referenced this pull request Dec 25, 2025
@bedevere-app

bedevere-app Bot commented Dec 25, 2025

Copy link
Copy Markdown

GH-143168 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label Dec 25, 2025
serhiy-storchaka pushed a commit that referenced this pull request Dec 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants