René's URL Explorer Experiment


Title: [3.13] gh-126688: Reinit import lock after fork (GH-126692) by miss-islington · Pull Request #126765 · python/cpython · GitHub

Open Graph Title: [3.13] gh-126688: Reinit import lock after fork (GH-126692) by miss-islington · Pull Request #126765 · python/cpython

X Title: [3.13] gh-126688: Reinit import lock after fork (GH-126692) by miss-islington · Pull Request #126765 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: The PyMutex implementation supports unlocking after fork because we clear the list of waiters in parking_lot.c. This doesn't work as well for _PyRecursiveMutex because on some systems, such as ...

X Description: The PyMutex implementation supports unlocking after fork because we clear the list of waiters in parking_lot.c. This doesn't work as well for _PyRecursiveMutex because on some systems, such...

Mail addresses
colesbury@gmail.com

Opengraph URL: https://github.com/python/cpython/pull/126765

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:a523dafd-c016-5ba4-eee3-df6bbeb7d06e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id869E:A4CAA:17E04A8:222F9BE:6A5A35C8
html-safe-nonce0ffdd84d2d812429c95bbd874fa9a9c842e4bb144d59f8d2d9b671550966e4ea
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjlFOkE0Q0FBOjE3RTA0QTg6MjIyRjlCRTo2QTVBMzVDOCIsInZpc2l0b3JfaWQiOiIzMzY4MTIwMTAyNzAxMTE4OTIwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9d6dffd7a8a95fda865a854e2c3600e02af6b151bfb17bd637f6e070f15ba69c
hovercard-subject-tagpull_request:2175773527
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/126765/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/63515399818a17cf39865f05101f780d06df64d9d12be9c30d66137d2a9362fe/python/cpython/pull/126765
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/63515399818a17cf39865f05101f780d06df64d9d12be9c30d66137d2a9362fe/python/cpython/pull/126765
og:image:altThe PyMutex implementation supports unlocking after fork because we clear the list of waiters in parking_lot.c. This doesn't work as well for _PyRecursiveMutex because on some systems, such as ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemiss-islington
hostnamegithub.com
expected-hostnamegithub.com
None19c67ad7579d2401ff06e88a32ef45460fbb40fab3191c7f7582d5e166f326fc
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea3dea2706161c733403beb02e41d5765d358d44e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/126765#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F126765
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2F126765
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
Reloadhttps://github.com/python/cpython/pull/126765
Reloadhttps://github.com/python/cpython/pull/126765
Reloadhttps://github.com/python/cpython/pull/126765
Please reload this pagehttps://github.com/python/cpython/pull/126765
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/126765
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k 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
colesburyhttps://github.com/colesbury
python:3.13https://github.com/python/cpython/tree/3.13
miss-islington:backport-5610860-3.13https://github.com/miss-islington/cpython/tree/backport-5610860-3.13
Conversationhttps://github.com/python/cpython/pull/126765
Commits1 (1)https://github.com/python/cpython/pull/126765/commits
Checkshttps://github.com/python/cpython/pull/126765/checks
Files changedhttps://github.com/python/cpython/pull/126765/files
[3.13] gh-126688: Reinit import lock after fork (GH-126692)https://github.com/python/cpython/pull/126765#top
colesburyhttps://github.com/colesbury
python:3.13https://github.com/python/cpython/tree/3.13
miss-islington:backport-5610860-3.13https://github.com/miss-islington/cpython/tree/backport-5610860-3.13
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Nov 12, 2024https://github.com/python/cpython/pull/126765#issue-2653363642
Please reload this pagehttps://github.com/python/cpython/pull/126765
5610860https://github.com/python/cpython/commit/5610860840aa71b186fc5639211dd268b817d65f
CPython should not assume that pthread_self returns the same value in fork parent and child #126688https://github.com/python/cpython/issues/126688
Please reload this pagehttps://github.com/python/cpython/pull/126765
https://github.com/colesbury
https://github.com/miss-islington
pythongh-126688https://github.com/python/cpython/issues/126688
: Reinit import lock after fork (https://github.com/python/cpython/pull/126765/commits/6f77b813394fcc2e67fbcd2e2b7240e45ded976f
pythonGH-126692https://github.com/python/cpython/pull/126692
)https://github.com/python/cpython/pull/126765/commits/6f77b813394fcc2e67fbcd2e2b7240e45ded976f
6f77b81https://github.com/python/cpython/pull/126765/commits/6f77b813394fcc2e67fbcd2e2b7240e45ded976f
5610860https://github.com/miss-islington/cpython/commit/5610860840aa71b186fc5639211dd268b817d65f
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
brettcannonhttps://github.com/brettcannon
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
kumaraditya303https://github.com/kumaraditya303
ncoghlanhttps://github.com/ncoghlan
warsawhttps://github.com/warsaw
code ownershttps://github.com/python/cpython/blob/865f096f51bb7290eb10b33b330f387d245c2472/.github/CODEOWNERS#L106
November 12, 2024 21:26https://github.com/python/cpython/pull/126765#event-15271253022
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Nov 12, 2024 https://github.com/python/cpython/pull/126765#ref-pullrequest-2649900494
gh-126688: Reinit import lock after fork #126692 https://github.com/python/cpython/pull/126692
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Nov 12, 2024https://github.com/python/cpython/pull/126765#event-15271254035
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Nov 12, 2024 https://github.com/python/cpython/pull/126765#ref-issue-2649681175
CPython should not assume that pthread_self returns the same value in fork parent and child #126688 https://github.com/python/cpython/issues/126688
https://github.com/colesbury
colesburyhttps://github.com/colesbury
November 12, 2024 21:38https://github.com/python/cpython/pull/126765#event-15271369695
https://github.com/colesbury
colesburyhttps://github.com/colesbury
13fe8f9https://github.com/python/cpython/commit/13fe8f946e60f28a7ae3b1e540973986f4eb357c
Nov 12, 2024https://github.com/python/cpython/pull/126765#event-15271582751
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Nov 12, 2024https://github.com/python/cpython/pull/126765#event-15271583184
oskar-skoghttps://github.com/oskar-skog
Nov 12, 2024 https://github.com/python/cpython/pull/126765#ref-commit-eef86c6
https://github.com/oskar-skog
Ports/Python: Backport gh-126688: Reinit import lock after forkhttps://github.com/oskar-skog/serenity/commit/eef86c6fd2dd3b13ce4155297e2b8769bde8f8c3
eef86c6https://github.com/oskar-skog/serenity/commit/eef86c6fd2dd3b13ce4155297e2b8769bde8f8c3
python/cpython#126765https://github.com/python/cpython/pull/126765
SerenityOS#26253https://github.com/SerenityOS/serenity/pull/26253
oskar-skoghttps://github.com/oskar-skog
Nov 12, 2024 https://github.com/python/cpython/pull/126765#ref-commit-8f635d2
https://github.com/oskar-skog
Ports/python3: Backport gh-126688: Reinit import lock after forkhttps://github.com/oskar-skog/serenity/commit/8f635d241d3ea93a38a8429bdf1befc6781ac1b6
8f635d2https://github.com/oskar-skog/serenity/commit/8f635d241d3ea93a38a8429bdf1befc6781ac1b6
python/cpython#126765https://github.com/python/cpython/pull/126765
SerenityOS#25263https://github.com/SerenityOS/serenity/issues/25263
https://github.com/oskar-skog
oskar-skoghttps://github.com/oskar-skog
Nov 12, 2024 https://github.com/python/cpython/pull/126765#ref-pullrequest-2653656715
Ports/python3: Backport gh-126688: Reinit import lock after fork SerenityOS/serenity#25377 https://github.com/SerenityOS/serenity/pull/25377
nicohttps://github.com/nico
Nov 13, 2024 https://github.com/python/cpython/pull/126765#ref-commit-a47e63b
https://github.com/oskar-skog
https://github.com/nico
Ports/python3: Backport gh-126688: Reinit import lock after forkhttps://github.com/SerenityOS/serenity/commit/a47e63b589bd177fc0fad29d9bf43abc0f09161b
a47e63bhttps://github.com/SerenityOS/serenity/commit/a47e63b589bd177fc0fad29d9bf43abc0f09161b
python/cpython#126765https://github.com/python/cpython/pull/126765
#25263https://github.com/SerenityOS/serenity/issues/25263
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
January 2, 2026 18:01https://github.com/python/cpython/pull/126765#event-21830269802
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F126765
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
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
Please reload this pagehttps://github.com/python/cpython/pull/126765
https://github.com/miss-islington
https://github.com/colesbury
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.