| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/*id(.:format) |
| route-controller | pull_requests |
| route-action | show |
| fetch-nonce | v2:77fc9cca-6567-69eb-1d56-b3ad1811cebe |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8C24:24D752:6A0B13:8E2CB4:6B0036EB |
| html-safe-nonce | a63d9bb3008ea57ad6574b4b7138462b2ea0c4dffe384e44cf70c92567ae86c9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzI0OjI0RDc1Mjo2QTBCMTM6OEUyQ0I0OjZCMDAzNkVCIiwidmlzaXRvcl9pZCI6IjgyNDA0NDQ5NDQ0ODE3OTM3NzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 11b2ae19ebc87af23b501b42b167eef3cc849249101703676352b8d9d970b4d5 |
| hovercard-subject-tag | pull_request:3029732959 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/141785 |
| twitter:image | https://opengraph.githubassets.com/45922b09a6326949d5d1e1161d61e1f1f9ebabc47f1c37b4ea540bc68d0c80c5/python/cpython/pull/141785 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/45922b09a6326949d5d1e1161d61e1f1f9ebabc47f1c37b4ea540bc68d0c80c5/python/cpython/pull/141785 |
| og:image:alt | We don't need to enable GIL for the PyModExport_ function, which is supposed to do as little as possible before returning a static array. Py_MOD_GIL_USED can be handled at module creation time,... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | encukou |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| turbo-cache-control | no-cache |
| 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 | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/cpython/pull/141785#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F141785 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F141785 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/141785 |
| Reload | https://github.com/python/cpython/pull/141785 |
| Reload | https://github.com/python/cpython/pull/141785 |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | https://github.com/python/cpython/pulls |
| Actions | https://github.com/python/cpython/actions |
| Projects | https://github.com/python/cpython/projects |
| Security and quality | https://github.com/python/cpython/security |
| Insights | https://github.com/python/cpython/insights |
| https://github.com/python/cpython |
| encukou | https://github.com/encukou |
| python:main | https://github.com/python/cpython/tree/main |
| encukou:modexport-gil | https://github.com/encukou/cpython/tree/modexport-gil |
| Conversation | https://github.com/python/cpython/pull/141785 |
| Commits10 (10) | https://github.com/python/cpython/pull/141785/commits |
| Checks | https://github.com/python/cpython/pull/141785/checks |
| Files changed | https://github.com/python/cpython/pull/141785/files |
| gh-141780: Make PyModule_FromSlotsAndSpec enable GIL if needed | https://github.com/python/cpython/pull/141785#top |
| encukou | https://github.com/encukou |
| python:main | https://github.com/python/cpython/tree/main |
| encukou:modexport-gil | https://github.com/encukou/cpython/tree/modexport-gil |
|
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| Nov 20, 2025 | https://github.com/python/cpython/pull/141785#issue-3647107225 |
| Please reload this page | https://github.com/python/cpython/pull/141785 |
| @colesbury | https://github.com/colesbury |
| Forcing enabling the GIL doesn't seem to work with PEP 793 initialization #141780 | https://github.com/python/cpython/issues/141780 |
| Please reload this page | https://github.com/python/cpython/pull/141785 |
| encukou | https://github.com/encukou |
| November 20, 2025 11:23 | https://github.com/python/cpython/pull/141785#commits-pushed-13faf0f |
|
| https://github.com/encukou |
| pythongh-141780 | https://github.com/python/cpython/issues/141780 |
| : Make PyModule_FromSlotsAndSpec enable GIL if needed | https://github.com/python/cpython/pull/141785/commits/13faf0f3d9391bfb2aa3898420d101883740f0c1 |
| 13faf0f | https://github.com/python/cpython/pull/141785/commits/13faf0f3d9391bfb2aa3898420d101883740f0c1 |
|
| https://github.com/encukou |
| Make test.test_importlib and _testmultiphase importable in subinterpr… | https://github.com/python/cpython/pull/141785/commits/60a669cc03b4e37418e29cfc73cefc58a1239dcf |
| 60a669c | https://github.com/python/cpython/pull/141785/commits/60a669cc03b4e37418e29cfc73cefc58a1239dcf |
|
| https://github.com/encukou |
| Test that Py_MOD_GIL_USED re-enables the GIL | https://github.com/python/cpython/pull/141785/commits/8a8a3449d08f47e053aecff6c318ee9d083e57a3 |
| 8a8a344 | https://github.com/python/cpython/pull/141785/commits/8a8a3449d08f47e053aecff6c318ee9d083e57a3 |
|
| https://github.com/encukou |
| blurb | https://github.com/python/cpython/pull/141785/commits/e2c9c7e407efd012380ddbddcfe3d2740623baae |
| e2c9c7e | https://github.com/python/cpython/pull/141785/commits/e2c9c7e407efd012380ddbddcfe3d2740623baae |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| brettcannon | https://github.com/brettcannon |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| kumaraditya303 | https://github.com/kumaraditya303 |
| ncoghlan | https://github.com/ncoghlan |
| warsaw | https://github.com/warsaw |
| code owners | https://github.com/python/cpython/blob/41b9ad5b38e913194a5cc88f0e7cfc096787b664/.github/CODEOWNERS#L254 |
| November 20, 2025 12:38 | https://github.com/python/cpython/pull/141785#event-21069707117 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Nov 20, 2025 | https://github.com/python/cpython/pull/141785#event-21069708248 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Nov 20, 2025
| https://github.com/python/cpython/pull/141785#ref-issue-3646006480 |
|
Forcing enabling the GIL doesn't seem to work with PEP 793 initialization
#141780
| https://github.com/python/cpython/issues/141780 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
|
Nov 20, 2025
| https://github.com/python/cpython/pull/141785#pullrequestreview-3487668088 |
|
View reviewed changes
| https://github.com/python/cpython/pull/141785/files/e2c9c7e407efd012380ddbddcfe3d2740623baae |
| Lib/test/test_importlib/util.py | https://github.com/python/cpython/pull/141785/files/e2c9c7e407efd012380ddbddcfe3d2740623baae#diff-cf049d6640b726c9ac283091e9c41e52434c770bcd2efb92eb64bdd6e2816d5a |
| encukou | https://github.com/encukou |
| Nov 20, 2025 | https://github.com/python/cpython/pull/141785#discussion_r2545915126 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/141785 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| November 20, 2025 13:20 | https://github.com/python/cpython/pull/141785#event-21070586287 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Nov 20, 2025 | https://github.com/python/cpython/pull/141785#event-21070587253 |
| encukou | https://github.com/encukou |
| November 20, 2025 14:24 | https://github.com/python/cpython/pull/141785#commits-pushed-b18c679 |
|
| https://github.com/encukou |
| Pass with -Werror | https://github.com/python/cpython/pull/141785/commits/b18c679b4a0334571d506a0a6dcc1f3567461f8e |
| b18c679 | https://github.com/python/cpython/pull/141785/commits/b18c679b4a0334571d506a0a6dcc1f3567461f8e |
|
| https://github.com/encukou |
| Skip test_from_modexport_empty_slots on GIL-ful builds | https://github.com/python/cpython/pull/141785/commits/103f427fdb38595e57e4d329424203ea24c16446 |
| 103f427 | https://github.com/python/cpython/pull/141785/commits/103f427fdb38595e57e4d329424203ea24c16446 |
|
| https://github.com/encukou |
| Use @requires_subinterpreters | https://github.com/python/cpython/pull/141785/commits/91d59e9b3985f984506a5f4b49be4f26f60479fe |
| 91d59e9 | https://github.com/python/cpython/pull/141785/commits/91d59e9b3985f984506a5f4b49be4f26f60479fe |
|
| https://github.com/encukou |
| Add more gil & interpreters slots | https://github.com/python/cpython/pull/141785/commits/3e82c25f104154140de0ed03be617acb2391f729 |
| 3e82c25 | https://github.com/python/cpython/pull/141785/commits/3e82c25f104154140de0ed03be617acb2391f729 |
|
| https://github.com/encukou |
| Fix assertion logic | https://github.com/python/cpython/pull/141785/commits/5b8b87c3140edd19a79490d1f66eac20a77f2a7f |
| 5b8b87c | https://github.com/python/cpython/pull/141785/commits/5b8b87c3140edd19a79490d1f66eac20a77f2a7f |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
|
🔨 test-with-buildbots
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22 |
| Nov 20, 2025 | https://github.com/python/cpython/pull/141785#event-21073033023 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Nov 20, 2025 | https://github.com/python/cpython/pull/141785#issuecomment-3558518029 |
| @encukou | https://github.com/encukou |
| 5b8b87c | https://github.com/python/cpython/commit/5b8b87c3140edd19a79490d1f66eac20a77f2a7f |
| https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F141785%2Fmerge | https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F141785%2Fmerge |
| Please reload this page | https://github.com/python/cpython/pull/141785 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
🔨 test-with-buildbots
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22 |
| Nov 20, 2025 | https://github.com/python/cpython/pull/141785#event-21073034413 |
| https://github.com/colesbury |
| colesbury | https://github.com/colesbury |
|
Nov 20, 2025
| https://github.com/python/cpython/pull/141785#pullrequestreview-3489517993 |
|
View reviewed changes
| https://github.com/python/cpython/pull/141785/files/5b8b87c3140edd19a79490d1f66eac20a77f2a7f |
| colesbury | https://github.com/colesbury |
| https://github.com/python/cpython/pull/141785#pullrequestreview-3489517993 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/141785 |
| Python/import.c | https://github.com/python/cpython/pull/141785/files/5b8b87c3140edd19a79490d1f66eac20a77f2a7f#diff-28cfc3e2868980a79d93d2ebdc8747dcb9231f3dd7f2caef96e74107d1ea3bf3 |
| Please reload this page | https://github.com/python/cpython/pull/141785 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Nov 20, 2025 | https://github.com/python/cpython/pull/141785#event-21079491199 |
| https://github.com/brettcannon |
| brettcannon | https://github.com/brettcannon |
| November 21, 2025 00:02 | https://github.com/python/cpython/pull/141785#event-21084729347 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| November 21, 2025 15:08 | https://github.com/python/cpython/pull/141785#event-21099167833 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Nov 21, 2025 | https://github.com/python/cpython/pull/141785#event-21099168954 |
|
| https://github.com/encukou |
|
| https://github.com/colesbury |
| Python/import.c: PEP7 | https://github.com/python/cpython/pull/141785/commits/cde6c25858833988023682a024199bb6ddc5fe0a |
| cde6c25 | https://github.com/python/cpython/pull/141785/commits/cde6c25858833988023682a024199bb6ddc5fe0a |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| bf66bce | https://github.com/python/cpython/commit/bf66bce4ee642e0d14d2e289490360e60980b14e |
| Nov 24, 2025 | https://github.com/python/cpython/pull/141785#event-21137290655 |
| Please reload this page | https://github.com/python/cpython/pull/141785 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Nov 24, 2025 | https://github.com/python/cpython/pull/141785#event-21137291801 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| November 24, 2025 12:26 | https://github.com/python/cpython/pull/141785#event-21137292000 |
| StanFromIreland | https://github.com/StanFromIreland |
|
Dec 6, 2025
| https://github.com/python/cpython/pull/141785#ref-commit-f614d18 |
|
| https://github.com/encukou |
|
| https://github.com/StanFromIreland |
| pythongh-141780 | https://github.com/python/cpython/issues/141780 |
| : Make PyModule_FromSlotsAndSpec enable GIL if needed ( | https://github.com/StanFromIreland/cpython/commit/f614d1867eb4ae768710675a7747f3b419156e4c |
| … | https://github.com/python/cpython/pull/141785 |
| f614d18 | https://github.com/StanFromIreland/cpython/commit/f614d1867eb4ae768710675a7747f3b419156e4c |
| …pythonGH-141785 | https://github.com/python/cpython/pull/141785 |
| ashm-dev | https://github.com/ashm-dev |
|
Dec 8, 2025
| https://github.com/python/cpython/pull/141785#ref-commit-1fdf8af |
|
| https://github.com/encukou |
|
| https://github.com/ashm-dev |
| pythongh-141780 | https://github.com/python/cpython/issues/141780 |
| : Make PyModule_FromSlotsAndSpec enable GIL if needed ( | https://github.com/ashm-dev/cpython/commit/1fdf8afe91014570f2bf0993a8c7002efb15f41e |
| … | https://github.com/python/cpython/pull/141785 |
| 1fdf8af | https://github.com/ashm-dev/cpython/commit/1fdf8afe91014570f2bf0993a8c7002efb15f41e |
| …pythonGH-141785 | https://github.com/python/cpython/pull/141785 |
|
[3.14] gh-144601: Avoid sharing exception objects raised in a PyInit function across multiple interpreters (GH-144602)
#144633
| https://github.com/python/cpython/pull/144633 |
|
[3.14] gh-144601: Use _testmultiphase instead of _testsinglephase in test_importlib
#144769
| https://github.com/python/cpython/pull/144769 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F141785 |
|
| https://github.com/colesbury |
|
colesbury
| https://github.com/colesbury |
|
| https://github.com/python/cpython/pull/141785/files/5b8b87c3140edd19a79490d1f66eac20a77f2a7f |
|
| https://github.com/ericsnowcurrently |
|
ericsnowcurrently
| https://github.com/ericsnowcurrently |
|
| https://github.com/ncoghlan |
|
ncoghlan
| https://github.com/ncoghlan |
|
| https://github.com/warsaw |
|
warsaw
| https://github.com/warsaw |
|
| https://github.com/kumaraditya303 |
|
kumaraditya303
| https://github.com/kumaraditya303 |
| Please reload this page | https://github.com/python/cpython/pull/141785 |
| Please reload this page | https://github.com/python/cpython/pull/141785 |
|
| https://github.com/encukou |
|
| https://github.com/bedevere-bot |
|
| https://github.com/colesbury |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |