Title: Disable the GIL by default in free-threaded builds · Issue #116329 · python/cpython · GitHub
Open Graph Title: Disable the GIL by default in free-threaded builds · Issue #116329 · python/cpython
X Title: Disable the GIL by default in free-threaded builds · Issue #116329 · python/cpython
Description: Feature or enhancement Proposal: Once #116167 is complete, users will be able to disable the GIL with PYTHON_GIL=0, but the GIL will remain enabled by default. When we have enough confidence in the correctness of running without the GIL,...
Open Graph Description: Feature or enhancement Proposal: Once #116167 is complete, users will be able to disable the GIL with PYTHON_GIL=0, but the GIL will remain enabled by default. When we have enough confidence in the...
X Description: Feature or enhancement Proposal: Once #116167 is complete, users will be able to disable the GIL with PYTHON_GIL=0, but the GIL will remain enabled by default. When we have enough confidence in the...
Opengraph URL: https://github.com/python/cpython/issues/116329
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Disable the GIL by default in free-threaded builds","articleBody":"# Feature or enhancement\n\n### Proposal:\n\nOnce #116167 is complete, users will be able to disable the GIL with `PYTHON_GIL=0`, but the GIL will remain enabled by default.\n\nWhen we have enough confidence in the correctness of running without the GIL, we should change free-threaded builds to disable the GIL by default, as [described in PEP 703](https://peps.python.org/pep-0703/#pythongil-environment-variable).\n\nThis should be a very small code change, and is already detailed in [this comment](https://github.com/python/cpython/blob/258408239a4fe8a14919d81b73a16e2cfa374050/Python/ceval_gil.c#L454-L456).\n","author":{"url":"https://github.com/swtaarrs","@type":"Person","name":"swtaarrs"},"datePublished":"2024-03-04T21:28:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/116329/cpython/issues/116329"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:238c9c12-ebe9-0e08-1b6c-3ce2296d6671 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D70A:1FFDC1:FE9CF9:162E96B:696A2BE0 |
| html-safe-nonce | 32bb9d57b4c16b47df471b726acbf0c56cb397e91469d917ea0179f639721d2b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzBBOjFGRkRDMTpGRTlDRjk6MTYyRTk2Qjo2OTZBMkJFMCIsInZpc2l0b3JfaWQiOiI4ODgzMDY2MzYwODI4NjY4ODk2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5a3650b967b6483a7448ae97cd58c330e77395196c3b4542f45797082341400f |
| hovercard-subject-tag | issue:2167798644 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/116329/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ab5096af15cb9c11c8244c2377427603ec2f2a91ed5a3fb12e573d34281ae5b9/python/cpython/issues/116329 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ab5096af15cb9c11c8244c2377427603ec2f2a91ed5a3fb12e573d34281ae5b9/python/cpython/issues/116329 |
| og:image:alt | Feature or enhancement Proposal: Once #116167 is complete, users will be able to disable the GIL with PYTHON_GIL=0, but the GIL will remain enabled by default. When we have enough confidence in the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | swtaarrs |
| hostname | github.com |
| expected-hostname | github.com |
| None | ade130928b3890d20ecf9c887468a17e88d5c9a740ea2a85c2c2162e7c58e623 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c00842167ca2e5b13e8171812965d503e925ece6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width