René's URL Explorer Experiment


Title: gh-150411: fix `gc_generation.count` race by LindaSummer · Pull Request #150413 · python/cpython · GitHub

Open Graph Title: gh-150411: fix `gc_generation.count` race by LindaSummer · Pull Request #150413 · python/cpython

X Title: gh-150411: fix `gc_generation.count` race by LindaSummer · Pull Request #150413 · python/cpython

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

Open Graph Description: Issue gh-150411 Root Cause Refer the analytics in issue gh-150411, it should be a gc_generation.count update during the cyclic object allocation triggered the local allocation count migrated to you...

X Description: Issue gh-150411 Root Cause Refer the analytics in issue gh-150411, it should be a gc_generation.count update during the cyclic object allocation triggered the local allocation count migrated to you...

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

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:80b9e35a-eb09-b542-4669-b5186212c177
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA194:765B8:A6AAAD:E5D235:6A57E652
html-safe-noncebaf0a9debe4ff7dc63d3b14ba4667a4229e5454e3f53140744398bee0c2ab81c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTk0Ojc2NUI4OkE2QUFBRDpFNUQyMzU6NkE1N0U2NTIiLCJ2aXNpdG9yX2lkIjoiNzkzMTk4ODE2Mjg2Nzg4MTU1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac28b487a861452a3f53c1a586edee9ea81600f281466c90a0fd1df5515c76467a
hovercard-subject-tagpull_request:3743080137
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/150413/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a073071a2aef3d4a32c54455eae246b145ca92bc4d0bcc01cb5e6c507fe46edd/python/cpython/pull/150413
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a073071a2aef3d4a32c54455eae246b145ca92bc4d0bcc01cb5e6c507fe46edd/python/cpython/pull/150413
og:image:altIssue gh-150411 Root Cause Refer the analytics in issue gh-150411, it should be a gc_generation.count update during the cyclic object allocation triggered the local allocation count migrated to you...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameLindaSummer
hostnamegithub.com
expected-hostnamegithub.com
None49c8c15fabcbf356d607a90ca115c13b273e42ff8b74155de050fd229a9b0121
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
release72a32c9d47294b6b7eb7f0250253277920c7a987
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/150413#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F150413
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%2F150413
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/150413
Reloadhttps://github.com/python/cpython/pull/150413
Reloadhttps://github.com/python/cpython/pull/150413
Please reload this pagehttps://github.com/python/cpython/pull/150413
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/150413
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
kumaraditya303https://github.com/kumaraditya303
python:mainhttps://github.com/python/cpython/tree/main
LindaSummer:gc_count_tsanhttps://github.com/LindaSummer/cpython/tree/gc_count_tsan
Conversationhttps://github.com/python/cpython/pull/150413
Commits4 (4)https://github.com/python/cpython/pull/150413/commits
Checkshttps://github.com/python/cpython/pull/150413/checks
Files changedhttps://github.com/python/cpython/pull/150413/files
gh-150411: fix gc_generation.count racehttps://github.com/python/cpython/pull/150413#top
kumaraditya303https://github.com/kumaraditya303
python:mainhttps://github.com/python/cpython/tree/main
LindaSummer:gc_count_tsanhttps://github.com/LindaSummer/cpython/tree/gc_count_tsan
https://github.com/LindaSummer
LindaSummerhttps://github.com/LindaSummer
May 25, 2026https://github.com/python/cpython/pull/150413#issue-4518227842
gh-150411https://github.com/python/cpython/issues/150411
gh-150411https://github.com/python/cpython/issues/150411
cpython/Python/gc_free_threading.chttps://github.com/python/cpython/blob/c714b5679817099ac574890392f408129e6c67cb/Python/gc_free_threading.c#L2017-L2037
c714b56https://github.com/python/cpython/commit/c714b5679817099ac574890392f408129e6c67cb
gh-150356https://github.com/python/cpython/pull/150356
Please reload this pagehttps://github.com/python/cpython/pull/150413
https://github.com/LindaSummer
LindaSummerhttps://github.com/LindaSummer
pablogsalhttps://github.com/pablogsal
code ownerhttps://github.com/python/cpython/blob/c714b5679817099ac574890392f408129e6c67cb/.github/CODEOWNERS#L480
May 25, 2026 16:18https://github.com/python/cpython/pull/150413#event-25933168740
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 25, 2026 https://github.com/python/cpython/pull/150413#ref-issue-4518155395
Data race between record_allocation and gc_get_count_impl #150411 https://github.com/python/cpython/issues/150411
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
May 25, 2026https://github.com/python/cpython/pull/150413#event-25933171529
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
May 25, 2026https://github.com/python/cpython/pull/150413#issuecomment-4536283496
#150356 (comment)https://github.com/python/cpython/pull/150356#issuecomment-4536277208
@naschemehttps://github.com/nascheme
Please reload this pagehttps://github.com/python/cpython/pull/150413
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Jun 4, 2026 https://github.com/python/cpython/pull/150413#pullrequestreview-4425721631
View reviewed changes https://github.com/python/cpython/pull/150413/files
Modules/gcmodule.chttps://github.com/python/cpython/pull/150413/files#diff-3ba495fac5f4cc4a582187117515f3177ab91823c65a59af962fe180e06d9e77
kumaraditya303https://github.com/kumaraditya303
Jun 4, 2026https://github.com/python/cpython/pull/150413#discussion_r3354233423
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/150413
LindaSummerhttps://github.com/LindaSummer
Jun 4, 2026https://github.com/python/cpython/pull/150413#discussion_r3357243835
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@kumaraditya303https://github.com/kumaraditya303
Please reload this pagehttps://github.com/python/cpython/pull/150413
LindaSummerhttps://github.com/LindaSummer
June 4, 2026 23:33https://github.com/python/cpython/pull/150413#commits-pushed-c916f01
https://github.com/LindaSummer
fix gc_generation.count racehttps://github.com/python/cpython/pull/150413/commits/c916f013b330d59134a507bf3913b0c2d18792b6
c916f01https://github.com/python/cpython/pull/150413/commits/c916f013b330d59134a507bf3913b0c2d18792b6
https://github.com/LindaSummer
add blurbhttps://github.com/python/cpython/pull/150413/commits/b2e9bcaaa2b6c45f6826fcd7fac7e45ab4b59186
b2e9bcahttps://github.com/python/cpython/pull/150413/commits/b2e9bcaaa2b6c45f6826fcd7fac7e45ab4b59186
https://github.com/LindaSummer
remove useless atomichttps://github.com/python/cpython/pull/150413/commits/639cc24eeafb373c351e6bcc09ca3a12d5ec5ebc
639cc24https://github.com/python/cpython/pull/150413/commits/639cc24eeafb373c351e6bcc09ca3a12d5ec5ebc
https://github.com/LindaSummer
LindaSummerhttps://github.com/LindaSummer
force-pushedhttps://github.com/python/cpython/compare/b71383ee9568e63325e94e7b7b370f25863bac26..639cc24eeafb373c351e6bcc09ca3a12d5ec5ebc
b71383ehttps://github.com/python/cpython/commit/b71383ee9568e63325e94e7b7b370f25863bac26
639cc24https://github.com/python/cpython/commit/639cc24eeafb373c351e6bcc09ca3a12d5ec5ebc
Compare https://github.com/python/cpython/compare/b71383ee9568e63325e94e7b7b370f25863bac26..639cc24eeafb373c351e6bcc09ca3a12d5ec5ebc
June 4, 2026 15:50https://github.com/python/cpython/pull/150413#event-26345052410
https://github.com/LindaSummer
LindaSummerhttps://github.com/LindaSummer
Jun 4, 2026https://github.com/python/cpython/pull/150413#issuecomment-4624069852
@pablogsalhttps://github.com/pablogsal
@kumaraditya303https://github.com/kumaraditya303
Please reload this pagehttps://github.com/python/cpython/pull/150413
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Jun 6, 2026 https://github.com/python/cpython/pull/150413#pullrequestreview-4443348279
View reviewed changes https://github.com/python/cpython/pull/150413/files/639cc24eeafb373c351e6bcc09ca3a12d5ec5ebc
Lib/test/test_free_threading/test_gc.pyhttps://github.com/python/cpython/pull/150413/files/639cc24eeafb373c351e6bcc09ca3a12d5ec5ebc#diff-bd2c376990c346fa7609c27d99a8046ab27a0bd4465af51c0b645a803b771fe6
Please reload this pagehttps://github.com/python/cpython/pull/150413
https://github.com/kumaraditya303
Update Lib/test/test_free_threading/test_gc.pyhttps://github.com/python/cpython/pull/150413/commits/4ab7a60ffa776a45f1a9b7f7e448380ee04435df
4ab7a60https://github.com/python/cpython/pull/150413/commits/4ab7a60ffa776a45f1a9b7f7e448380ee04435df
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Jun 6, 2026 https://github.com/python/cpython/pull/150413#pullrequestreview-4443348501
View reviewed changes https://github.com/python/cpython/pull/150413/files/4ab7a60ffa776a45f1a9b7f7e448380ee04435df
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 review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jun 6, 2026https://github.com/python/cpython/pull/150413#event-26424877228
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
June 6, 2026 16:36https://github.com/python/cpython/pull/150413#event-26424880296
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
12af26dhttps://github.com/python/cpython/commit/12af26d17e4343c1f4ea3a1019bcc34ee76671c3
Jun 6, 2026https://github.com/python/cpython/pull/150413#event-26425374443
Please reload this pagehttps://github.com/python/cpython/pull/150413
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
Jun 6, 2026https://github.com/python/cpython/pull/150413#event-26425375118
philthompson10https://github.com/philthompson10
Jun 17, 2026 https://github.com/python/cpython/pull/150413#ref-commit-fa2eb1e
https://github.com/LindaSummer
https://github.com/philthompson10
pythongh-150411https://github.com/python/cpython/issues/150411
: fixhttps://github.com/philthompson10/cpython/commit/fa2eb1ea6f0e05d41de9960fd7867720acf91005
gc_generation.counthttps://github.com/philthompson10/cpython/commit/fa2eb1ea6f0e05d41de9960fd7867720acf91005
race in free-threading (https://github.com/philthompson10/cpython/commit/fa2eb1ea6f0e05d41de9960fd7867720acf91005
py…https://github.com/python/cpython/pull/150413
fa2eb1ehttps://github.com/philthompson10/cpython/commit/fa2eb1ea6f0e05d41de9960fd7867720acf91005
…thon#150413https://github.com/python/cpython/pull/150413
https://github.com/nascheme
naschemehttps://github.com/nascheme
Jul 14, 2026 https://github.com/python/cpython/pull/150413#ref-issue-4886172131
Backport free-threading memory-safety fixes to 3.14 and 3.15 #153714 https://github.com/python/cpython/issues/153714
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%2F150413
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
https://github.com/python/cpython/pull/150413/files/4ab7a60ffa776a45f1a9b7f7e448380ee04435df
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
Please reload this pagehttps://github.com/python/cpython/pull/150413
https://github.com/LindaSummer
https://github.com/pablogsal
https://github.com/kumaraditya303
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.