René's URL Explorer Experiment


Title: gh-132942: Fix races in type lookup cache by nascheme · Pull Request #133032 · python/cpython · GitHub

Open Graph Title: gh-132942: Fix races in type lookup cache by nascheme · Pull Request #133032 · python/cpython

X Title: gh-132942: Fix races in type lookup cache by nascheme · Pull Request #133032 · python/cpython

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

Open Graph Description: Two races related to the type lookup cache, when used in the free-threaded build. This caused test_opcache to sometimes fail (as well as other hard to reproduce failures). The first problem is tha...

X Description: Two races related to the type lookup cache, when used in the free-threaded build. This caused test_opcache to sometimes fail (as well as other hard to reproduce failures). The first problem is tha...

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

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:6abf09d5-9adb-7a0c-49ff-f3e600adca25
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id927C:4B3DF:8F00ED:C8E44B:6A57B76B
html-safe-nonce55855cef28d4ca241f572905f4398d6486af724551d666f3c3c435b96d9f47f4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjdDOjRCM0RGOjhGMDBFRDpDOEU0NEI6NkE1N0I3NkIiLCJ2aXNpdG9yX2lkIjoiNDY5NzA5NzUyMjI3MTIwNTIyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb8217cdb7eb1980e780181301e1a01671d22918217a051d24e5a7e0bfc526846
hovercard-subject-tagpull_request:2483735062
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/133032/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/435fee110a5a30fa3ef73bb8a09fbbbf2ae55cd8b41dcf3b87381859669ddbf4/python/cpython/pull/133032
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/435fee110a5a30fa3ef73bb8a09fbbbf2ae55cd8b41dcf3b87381859669ddbf4/python/cpython/pull/133032
og:image:altTwo races related to the type lookup cache, when used in the free-threaded build. This caused test_opcache to sometimes fail (as well as other hard to reproduce failures). The first problem is tha...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenascheme
hostnamegithub.com
expected-hostnamegithub.com
None899c314dfde9abcf8fc1fe8c04f09866b347ea06f43166d653afc482795c9fca
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
release67aa73f3bba9e68b2de0ebe01c65fcd120461cba
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/133032#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F133032
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%2F133032
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/133032
Reloadhttps://github.com/python/cpython/pull/133032
Reloadhttps://github.com/python/cpython/pull/133032
Please reload this pagehttps://github.com/python/cpython/pull/133032
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/133032
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k 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
naschemehttps://github.com/nascheme
python:mainhttps://github.com/python/cpython/tree/main
nascheme:gh-132942-tp-lookup-racehttps://github.com/nascheme/cpython/tree/gh-132942-tp-lookup-race
Conversationhttps://github.com/python/cpython/pull/133032
Commits4 (4)https://github.com/python/cpython/pull/133032/commits
Checkshttps://github.com/python/cpython/pull/133032/checks
Files changedhttps://github.com/python/cpython/pull/133032/files
gh-132942: Fix races in type lookup cachehttps://github.com/python/cpython/pull/133032#top
naschemehttps://github.com/nascheme
python:mainhttps://github.com/python/cpython/tree/main
nascheme:gh-132942-tp-lookup-racehttps://github.com/nascheme/cpython/tree/gh-132942-tp-lookup-race
https://github.com/nascheme
naschemehttps://github.com/nascheme
Apr 27, 2025https://github.com/python/cpython/pull/133032#issue-3022512033
Please reload this pagehttps://github.com/python/cpython/pull/133032
test_opcache fails randomly (failure or crash) #132942https://github.com/python/cpython/issues/132942
Please reload this pagehttps://github.com/python/cpython/pull/133032
https://github.com/nascheme
pythongh-132942https://github.com/python/cpython/issues/132942
: Fix races in type lookup cachehttps://github.com/python/cpython/pull/133032/commits/90a7d35ab3c0dd2302351917811d19c8513fd001
90a7d35https://github.com/python/cpython/pull/133032/commits/90a7d35ab3c0dd2302351917811d19c8513fd001
https://github.com/nascheme
naschemehttps://github.com/nascheme
type-crash https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-crash
topic-free-threading https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading
Apr 27, 2025https://github.com/python/cpython/pull/133032#event-17419961741
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Apr 27, 2025 https://github.com/python/cpython/pull/133032#ref-issue-3020181923
test_opcache fails randomly (failure or crash) #132942 https://github.com/python/cpython/issues/132942
https://github.com/nascheme
naschemehttps://github.com/nascheme
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Apr 27, 2025https://github.com/python/cpython/pull/133032#event-17419973031
https://github.com/nascheme
Add NEWS.https://github.com/python/cpython/pull/133032/commits/5cd03e856b3b31669158df2707640408e29eeb0c
5cd03e8https://github.com/python/cpython/pull/133032/commits/5cd03e856b3b31669158df2707640408e29eeb0c
https://github.com/nascheme
naschemehttps://github.com/nascheme
colesburyhttps://github.com/colesbury
April 27, 2025 00:52https://github.com/python/cpython/pull/133032#event-17420003815
https://github.com/nascheme
naschemehttps://github.com/nascheme
April 27, 2025 01:38https://github.com/python/cpython/pull/133032#event-17420196197
https://github.com/nascheme
naschemehttps://github.com/nascheme
markshannonhttps://github.com/markshannon
code ownerhttps://github.com/python/cpython/blob/4f18916c5c28321f363e85ee7ef3ee29bbf79d8e/.github/CODEOWNERS#L34
April 27, 2025 01:38https://github.com/python/cpython/pull/133032#event-17420196204
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Apr 27, 2025https://github.com/python/cpython/pull/133032#event-17420196258
https://github.com/nascheme
naschemehttps://github.com/nascheme
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Apr 27, 2025https://github.com/python/cpython/pull/133032#event-17420198944
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Apr 28, 2025 https://github.com/python/cpython/pull/133032#pullrequestreview-2800119100
View reviewed changes https://github.com/python/cpython/pull/133032/files/5cd03e856b3b31669158df2707640408e29eeb0c
Objects/typeobject.chttps://github.com/python/cpython/pull/133032/files/5cd03e856b3b31669158df2707640408e29eeb0c#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872
Please reload this pagehttps://github.com/python/cpython/pull/133032
https://github.com/nascheme
naschemehttps://github.com/nascheme
Apr 28, 2025https://github.com/python/cpython/pull/133032#issuecomment-2836062722
crash_mro_lookup.py.txthttps://github.com/user-attachments/files/19946134/crash_mro_lookup.py.txt
Please reload this pagehttps://github.com/python/cpython/pull/133032
naschemehttps://github.com/nascheme
April 28, 2025 11:13https://github.com/python/cpython/pull/133032#commits-pushed-6d30841
https://github.com/nascheme
Use release/acquire pair for entry->version.https://github.com/python/cpython/pull/133032/commits/6d3084113488cc2861238e50046d588d6b6230e0
6d30841https://github.com/python/cpython/pull/133032/commits/6d3084113488cc2861238e50046d588d6b6230e0
https://github.com/nascheme
Merge 'origin/main' intohttps://github.com/python/cpython/pull/133032/commits/3e0179612ef43e1605a7121519afaab1844927c5
pythongh-132942https://github.com/python/cpython/issues/132942
-tp-lookup-racehttps://github.com/python/cpython/pull/133032/commits/3e0179612ef43e1605a7121519afaab1844927c5
3e01796https://github.com/python/cpython/pull/133032/commits/3e0179612ef43e1605a7121519afaab1844927c5
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Apr 28, 2025 https://github.com/python/cpython/pull/133032#pullrequestreview-2800283992
View reviewed changes https://github.com/python/cpython/pull/133032/files/3e0179612ef43e1605a7121519afaab1844927c5
colesburyhttps://github.com/colesbury
https://github.com/python/cpython/pull/133032#pullrequestreview-2800283992
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/133032
https://github.com/apps/bedevere-app
bedevere-apphttps://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
Apr 28, 2025https://github.com/python/cpython/pull/133032#event-17439807273
https://github.com/nascheme
naschemehttps://github.com/nascheme
31d1342https://github.com/python/cpython/commit/31d1342de9489f95384dbc748130c2ae6f092e84
Apr 28, 2025https://github.com/python/cpython/pull/133032#event-17440169355
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Apr 28, 2025https://github.com/python/cpython/pull/133032#event-17440169918
https://github.com/nascheme
naschemehttps://github.com/nascheme
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Apr 28, 2025https://github.com/python/cpython/pull/133032#event-17443014102
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Apr 28, 2025https://github.com/python/cpython/pull/133032#issuecomment-2836788502
@naschemehttps://github.com/nascheme
Please reload this pagehttps://github.com/python/cpython/pull/133032
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Apr 28, 2025https://github.com/python/cpython/pull/133032#issuecomment-2836788588
@naschemehttps://github.com/nascheme
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/133032
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
naschemehttps://github.com/nascheme
Apr 28, 2025https://github.com/python/cpython/pull/133032#event-17443015177
https://github.com/hugovk
hugovkhttps://github.com/hugovk
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
May 22, 2025https://github.com/python/cpython/pull/133032#event-17770387486
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%2F133032
https://github.com/colesbury
colesbury https://github.com/colesbury
https://github.com/python/cpython/pull/133032/files/3e0179612ef43e1605a7121519afaab1844927c5
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/nascheme
nascheme https://github.com/nascheme
topic-free-threading https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading
type-crash https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-crash
Please reload this pagehttps://github.com/python/cpython/pull/133032
https://github.com/nascheme
https://github.com/colesbury
https://github.com/hugovk
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.