| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:a5262a1b-9bfe-52d9-9052-08e353550f1b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A460:7E3D2:4DF48F7:6E78370:6A4FD72D |
| html-safe-nonce | d2f9a3d4593f9550ead9ac24d55eaec0a936566caf5d7802cd0a0c0989c40d30 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDYwOjdFM0QyOjRERjQ4Rjc6NkU3ODM3MDo2QTRGRDcyRCIsInZpc2l0b3JfaWQiOiIyOTE4MTg0MDIyMDQzNDIwNjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d3e2256b653b500c0578c5051a296f065073c69d470567da1ce3f8bbb175475c |
| hovercard-subject-tag | pull_request:3034190329 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/141822/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/c27ed917aba6df2670698dfd450be56907167c8a0707dca0d422fb370ba09a67/python/cpython/pull/141822 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c27ed917aba6df2670698dfd450be56907167c8a0707dca0d422fb370ba09a67/python/cpython/pull/141822 |
| og:image:alt | Issue: free-threading: PyImport_AddModuleRef race condition #137422 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | colesbury |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19b98c3d9767bb8a56238a89ff8401d1cbdf3bc5c353799aacf49fe6c76b4b7c |
| 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 | 142593e66413bbae27fd485859993597d5a3b104 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/141822#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F141822 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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 |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F141822 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/141822 |
| Reload | https://github.com/python/cpython/pull/141822 |
| Reload | https://github.com/python/cpython/pull/141822 |
| Please reload this page | https://github.com/python/cpython/pull/141822 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/141822 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
34.8k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.6k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| 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/pulse |
| colesbury | https://github.com/colesbury |
| python:main | https://github.com/python/cpython/tree/main |
| colesbury:gh-137422-pyimport-addmoduleref | https://github.com/colesbury/cpython/tree/gh-137422-pyimport-addmoduleref |
| Conversation | https://github.com/python/cpython/pull/141822 |
| Commits2 (2) | https://github.com/python/cpython/pull/141822/commits |
| Checks | https://github.com/python/cpython/pull/141822/checks |
| Files changed | https://github.com/python/cpython/pull/141822/files |
| gh-137422: Fix race condition in PyImport_AddModuleRef | https://github.com/python/cpython/pull/141822#top |
| colesbury | https://github.com/colesbury |
| python:main | https://github.com/python/cpython/tree/main |
| colesbury:gh-137422-pyimport-addmoduleref | https://github.com/colesbury/cpython/tree/gh-137422-pyimport-addmoduleref |
|
| https://github.com/colesbury |
| colesbury | https://github.com/colesbury |
| Nov 21, 2025 | https://github.com/python/cpython/pull/141822#issue-3652151623 |
| Please reload this page | https://github.com/python/cpython/pull/141822 |
| free-threading: PyImport_AddModuleRef race condition #137422 | https://github.com/python/cpython/issues/137422 |
| Please reload this page | https://github.com/python/cpython/pull/141822 |
|
| https://github.com/colesbury |
| pythongh-137422 | https://github.com/python/cpython/issues/137422 |
| : Fix race condition in PyImport_AddModuleRef | https://github.com/python/cpython/pull/141822/commits/463b8b6a6d79b2d75ef62c7554ace6b5a3eb4111 |
| 463b8b6 | https://github.com/python/cpython/pull/141822/commits/463b8b6a6d79b2d75ef62c7554ace6b5a3eb4111 |
| https://github.com/colesbury |
| colesbury | https://github.com/colesbury |
|
topic-C-API
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-C-API |
|
topic-free-threading
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading |
|
needs backport to 3.14
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22 |
| Nov 21, 2025 | https://github.com/python/cpython/pull/141822#event-21099805554 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Nov 21, 2025
| https://github.com/python/cpython/pull/141822#ref-issue-3293535587 |
|
free-threading: PyImport_AddModuleRef race condition
#137422
| https://github.com/python/cpython/issues/137422 |
|
| https://github.com/colesbury |
| Fix lint | https://github.com/python/cpython/pull/141822/commits/d735393931486b79615d6af3966502f7ced24745 |
| d735393 | https://github.com/python/cpython/pull/141822/commits/d735393931486b79615d6af3966502f7ced24745 |
| https://github.com/colesbury |
| colesbury | https://github.com/colesbury |
| Nov 21, 2025 | https://github.com/python/cpython/pull/141822#issuecomment-3563578293 |
| [subinterpreters] Eliminate PyInterpreterState.modules. #72597 | https://github.com/python/cpython/issues/72597 |
| bpo-28411: Support other mappings in PyInterpreterState.modules. #3593 | https://github.com/python/cpython/pull/3593 |
| Please reload this page | https://github.com/python/cpython/pull/141822 |
| https://github.com/colesbury |
| colesbury | https://github.com/colesbury |
| November 21, 2025 15:46 | https://github.com/python/cpython/pull/141822#event-21100006931 |
| https://github.com/colesbury |
| colesbury | https://github.com/colesbury |
| 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/49ff8b6cc017bb6e9bdb3bf4918d65f32f7aaed8/.github/CODEOWNERS#L255 |
| November 21, 2025 15:46 | https://github.com/python/cpython/pull/141822#event-21100007115 |
| 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 21, 2025 | https://github.com/python/cpython/pull/141822#event-21100008013 |
| https://github.com/kumaraditya303 |
| kumaraditya303 | https://github.com/kumaraditya303 |
|
Nov 21, 2025
| https://github.com/python/cpython/pull/141822#pullrequestreview-3493853743 |
|
View reviewed changes
| https://github.com/python/cpython/pull/141822/files/d735393931486b79615d6af3966502f7ced24745 |
| kumaraditya303 | https://github.com/kumaraditya303 |
| https://github.com/python/cpython/pull/141822#pullrequestreview-3493853743 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/141822 |
| 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 |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Nov 21, 2025 | https://github.com/python/cpython/pull/141822#event-21102681442 |
| https://github.com/colesbury |
| colesbury | https://github.com/colesbury |
| 2d50dd2 | https://github.com/python/cpython/commit/2d50dd242e04b94f86cb23c4972c1b423c670175 |
| Nov 21, 2025 | https://github.com/python/cpython/pull/141822#event-21103107960 |
| Please reload this page | https://github.com/python/cpython/pull/141822 |
| https://github.com/apps/miss-islington-app |
| miss-islington-app | https://github.com/apps/miss-islington-app |
| Nov 21, 2025 | https://github.com/python/cpython/pull/141822#issuecomment-3564178739 |
| @colesbury | https://github.com/colesbury |
| Please reload this page | https://github.com/python/cpython/pull/141822 |
| 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 21, 2025 | https://github.com/python/cpython/pull/141822#event-21103108767 |
| https://github.com/colesbury |
| colesbury | https://github.com/colesbury |
| November 21, 2025 18:30 | https://github.com/python/cpython/pull/141822#event-21103108900 |
| miss-islington | https://github.com/miss-islington |
|
Nov 21, 2025
| https://github.com/python/cpython/pull/141822#ref-commit-33056f9 |
|
| https://github.com/colesbury |
|
| https://github.com/miss-islington |
| pythongh-137422 | https://github.com/python/cpython/issues/137422 |
| : Fix race condition in PyImport_AddModuleRef ( | https://github.com/miss-islington/cpython/commit/33056f93f7e299480f5d6960fbebaf8507b30ac0 |
| pythong… | https://github.com/python/cpython/pull/141822 |
| 33056f9 | https://github.com/miss-islington/cpython/commit/33056f93f7e299480f5d6960fbebaf8507b30ac0 |
| …h-141822 | https://github.com/python/cpython/pull/141822 |
| 2d50dd2 | https://github.com/miss-islington/cpython/commit/2d50dd242e04b94f86cb23c4972c1b423c670175 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| Nov 21, 2025 | https://github.com/python/cpython/pull/141822#issuecomment-3564179027 |
| GH-141830 | https://github.com/python/cpython/pull/141830 |
| 3.14 branch | https://github.com/python/cpython/tree/3.14 |
| Please reload this page | https://github.com/python/cpython/pull/141822 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
needs backport to 3.14
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22 |
| Nov 21, 2025 | https://github.com/python/cpython/pull/141822#event-21103110632 |
| colesbury | https://github.com/colesbury |
|
Nov 21, 2025
| https://github.com/python/cpython/pull/141822#ref-commit-5bca7f4 |
|
| https://github.com/miss-islington |
|
| https://github.com/colesbury |
| [3.14] | https://github.com/python/cpython/commit/5bca7f4d7ab685802a79e50e6746173c5cd7a00a |
| gh-137422 | https://github.com/python/cpython/issues/137422 |
| : Fix race condition in PyImport_AddModuleRef ( | https://github.com/python/cpython/commit/5bca7f4d7ab685802a79e50e6746173c5cd7a00a |
| gh-141822 | https://github.com/python/cpython/pull/141822 |
| 5bca7f4 | https://github.com/python/cpython/commit/5bca7f4d7ab685802a79e50e6746173c5cd7a00a |
| https://github.com/python/cpython/pull/141822 |
| gh-141830 | https://github.com/python/cpython/pull/141830 |
| 2d50dd2 | https://github.com/python/cpython/commit/2d50dd242e04b94f86cb23c4972c1b423c670175 |
| StanFromIreland | https://github.com/StanFromIreland |
|
Dec 6, 2025
| https://github.com/python/cpython/pull/141822#ref-commit-ae5ac02 |
|
| https://github.com/colesbury |
|
| https://github.com/StanFromIreland |
| pythongh-137422 | https://github.com/python/cpython/issues/137422 |
| : Fix race condition in PyImport_AddModuleRef ( | https://github.com/StanFromIreland/cpython/commit/ae5ac0282ff02ed7626d582a82f8f6f065528fba |
| pythong… | https://github.com/python/cpython/pull/141822 |
| ae5ac02 | https://github.com/StanFromIreland/cpython/commit/ae5ac0282ff02ed7626d582a82f8f6f065528fba |
| …h-141822 | https://github.com/python/cpython/pull/141822 |
| ashm-dev | https://github.com/ashm-dev |
|
Dec 8, 2025
| https://github.com/python/cpython/pull/141822#ref-commit-4dc0467 |
|
| https://github.com/colesbury |
|
| https://github.com/ashm-dev |
| pythongh-137422 | https://github.com/python/cpython/issues/137422 |
| : Fix race condition in PyImport_AddModuleRef ( | https://github.com/ashm-dev/cpython/commit/4dc046776fb837c028222abff6a806c1f12d2acd |
| pythong… | https://github.com/python/cpython/pull/141822 |
| 4dc0467 | https://github.com/ashm-dev/cpython/commit/4dc046776fb837c028222abff6a806c1f12d2acd |
| …h-141822 | https://github.com/python/cpython/pull/141822 |
| 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%2F141822 |
|
| https://github.com/kumaraditya303 |
|
kumaraditya303
| https://github.com/kumaraditya303 |
|
| https://github.com/python/cpython/pull/141822/files/d735393931486b79615d6af3966502f7ced24745 |
|
| https://github.com/brettcannon |
|
brettcannon
| https://github.com/brettcannon |
|
| 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 |
|
topic-C-API
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-C-API |
|
topic-free-threading
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading |
| Please reload this page | https://github.com/python/cpython/pull/141822 |
|
| https://github.com/colesbury |
|
| https://github.com/kumaraditya303 |
|
| 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 |