Skip to content

gh-116749: Disable GIL by default in free-threaded build - #118295

Merged
colesbury merged 2 commits into
python:mainfrom
colesbury:gh-116749-disable-gil
Apr 26, 2024
Merged

colesbury merged 2 commits into
python:mainfrom
colesbury:gh-116749-disable-gil

Conversation

@colesbury

@colesbury colesbury commented Apr 25, 2024 •

Copy link
Copy Markdown
Contributor

Switch GIL to disabled by default in free-threaded build so that the free-threaded CIs catch thread-safety issues.

Switch GIL to disabled by default in free-threaded build so that the
free-threaded CIs catch thread-safety issues.
@colesbury

Copy link
Copy Markdown
Contributor Author

!buildbot nogil

@bedevere-bot

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @colesbury for commit 9fc88f4 🤖

The command will test the builders whose names match following regular expression: nogil

The builders matched are:

  • x86-64 MacOS Intel ASAN NoGIL PR
  • AMD64 Ubuntu NoGIL Refleaks PR
  • ARM64 MacOS M1 NoGIL PR
  • AMD64 Windows Server 2022 NoGIL PR
  • AMD64 Ubuntu NoGIL PR
  • ARM64 MacOS M1 Refleaks NoGIL PR
  • x86-64 MacOS Intel NoGIL PR
@colesbury
colesbury requested review from DinoV and swtaarrs April 26, 2024 15:04
@colesbury
colesbury marked this pull request as ready for review April 26, 2024 15:04

@SonicField SonicField left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Comment thread Python/initconfig.c Resolved

@DinoV DinoV left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sweet!!

@swtaarrs swtaarrs 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.

Exciting 😃

@colesbury
colesbury merged commit 5a90de0 into python:main Apr 26, 2024
@colesbury
colesbury deleted the gh-116749-disable-gil branch April 26, 2024 18:22
@corona10

Copy link
Copy Markdown
Member

Historical moment!

@cychen2021

Copy link
Copy Markdown

Cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

7 participants