Skip to content

gh-119132: Log sys._is_gil_disabled() in test.pythoninfo - #119140

Merged
vstinner merged 2 commits into
python:mainfrom
vstinner:pythoninfo
May 18, 2024
Merged

vstinner merged 2 commits into
python:mainfrom
vstinner:pythoninfo

Conversation

@vstinner

@vstinner vstinner commented May 18, 2024 •

Copy link
Copy Markdown
Member
@vstinner

Copy link
Copy Markdown
Member Author

@corona10 corona10 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!

@vstinner

Copy link
Copy Markdown
Member Author

Example on "Tests / Windows (free-threading) / build and test (x64) (pull_request)":

sys._is_gil_enabled: False

It works as expected.

@vstinner
vstinner merged commit 74072a3 into python:main May 18, 2024
@vstinner
vstinner deleted the pythoninfo branch May 18, 2024 13:24
@miss-islington-app

Copy link
Copy Markdown

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 18, 2024
…GH-119140)

(cherry picked from commit 74072a3)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-app

bedevere-app Bot commented May 18, 2024

Copy link
Copy Markdown

GH-119143 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 May 18, 2024
@vstinner

Copy link
Copy Markdown
Member Author

Merged, thanks for reviews.

vstinner added a commit that referenced this pull request May 18, 2024
…9140) (#119143)

gh-119132: Log sys._is_gil_enabled() in test.pythoninfo (GH-119140)
(cherry picked from commit 74072a3)

Co-authored-by: Victor Stinner <vstinner@python.org>
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants