René's URL Explorer Experiment


Title: gh-126366: Make native generators thread safe by ZeroIntensity · Pull Request #126371 · python/cpython · GitHub

Open Graph Title: gh-126366: Make native generators thread safe by ZeroIntensity · Pull Request #126371 · python/cpython

X Title: gh-126366: Make native generators thread safe by ZeroIntensity · Pull Request #126371 · python/cpython

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

Open Graph Description: Co-authored-by: Ken Jin kenjin@python.org Issue: Abort in free-threaded build due to mutation of ChainMap of a Counter in threads #126366

X Description: Co-authored-by: Ken Jin kenjin@python.org Issue: Abort in free-threaded build due to mutation of ChainMap of a Counter in threads #126366

Mail addresses
kenjin@python.org

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

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:0f0e389b-e0c9-201f-6cfa-d56b8efa8e3b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9978:3FBC0:7191B1:A558F4:6A5614D4
html-safe-noncee8a8d37f2bc4f77b58bf561540ed8ac820b96fa9eacfd85aeef175f488294a57
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTc4OjNGQkMwOjcxOTFCMTpBNTU4RjQ6NkE1NjE0RDQiLCJ2aXNpdG9yX2lkIjoiMjU4ODQxMDYxNDUwMzU3Njc4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd06224fdc5b2d0de87e03b563667fbed1f720c6ea79168299899367f5e5fa88b
hovercard-subject-tagpull_request:2159800552
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/126371/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ce53f4688f379685effe87cf7f0fb841f326d3b85011e53cfdb39b72a116af3a/python/cpython/pull/126371
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ce53f4688f379685effe87cf7f0fb841f326d3b85011e53cfdb39b72a116af3a/python/cpython/pull/126371
og:image:altCo-authored-by: Ken Jin kenjin@python.org Issue: Abort in free-threaded build due to mutation of ChainMap of a Counter in threads #126366
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameZeroIntensity
hostnamegithub.com
expected-hostnamegithub.com
Nonef4368738fc918fecd9b3958f6b49218bbe60d4185f38e72e3954e11f1ad0213a
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
releaseb76b9cc70d30da50674184c9c66c56423fd0b93c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/126371#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F126371
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%2F126371
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/126371
Reloadhttps://github.com/python/cpython/pull/126371
Reloadhttps://github.com/python/cpython/pull/126371
Please reload this pagehttps://github.com/python/cpython/pull/126371
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/126371
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
ZeroIntensityhttps://github.com/ZeroIntensity
python:mainhttps://github.com/python/cpython/tree/main
ZeroIntensity:list-init-thread-safetyhttps://github.com/ZeroIntensity/cpython/tree/list-init-thread-safety
Conversationhttps://github.com/python/cpython/pull/126371
Commits44 (44)https://github.com/python/cpython/pull/126371/commits
Checkshttps://github.com/python/cpython/pull/126371/checks
Files changedhttps://github.com/python/cpython/pull/126371/files
gh-126366: Make native generators thread safehttps://github.com/python/cpython/pull/126371#top
ZeroIntensityhttps://github.com/ZeroIntensity
python:mainhttps://github.com/python/cpython/tree/main
ZeroIntensity:list-init-thread-safetyhttps://github.com/ZeroIntensity/cpython/tree/list-init-thread-safety
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Nov 3, 2024https://github.com/python/cpython/pull/126371#issue-2631477845
Please reload this pagehttps://github.com/python/cpython/pull/126371
Abort in free-threaded build due to mutation of ChainMap of a Counter in threads #126366https://github.com/python/cpython/issues/126366
Please reload this pagehttps://github.com/python/cpython/pull/126371
ZeroIntensityhttps://github.com/ZeroIntensity
November 3, 2024 14:22https://github.com/python/cpython/pull/126371#commits-pushed-f8b06ae
https://github.com/ZeroIntensity
Lock the iterable for list.__init__()https://github.com/python/cpython/pull/126371/commits/f8b06aeb9d05d1d948ce4483c6355906999ac3c3
f8b06aehttps://github.com/python/cpython/pull/126371/commits/f8b06aeb9d05d1d948ce4483c6355906999ac3c3
https://github.com/ZeroIntensity
Add blurbhttps://github.com/python/cpython/pull/126371/commits/cd6f5732baf4c7c05ed23b9e59fcd84285e8acb0
cd6f573https://github.com/python/cpython/pull/126371/commits/cd6f5732baf4c7c05ed23b9e59fcd84285e8acb0
https://github.com/ZeroIntensity
Add a test.https://github.com/python/cpython/pull/126371/commits/49fb9e57c85d5fc969ebdd5f9385cbcf5248771f
49fb9e5https://github.com/python/cpython/pull/126371/commits/49fb9e57c85d5fc969ebdd5f9385cbcf5248771f
https://github.com/ZeroIntensity
Fix the test.https://github.com/python/cpython/pull/126371/commits/ab087ce08e8708689bf8e0f0ff0a910e750b8936
ab087cehttps://github.com/python/cpython/pull/126371/commits/ab087ce08e8708689bf8e0f0ff0a910e750b8936
https://github.com/ZeroIntensity
Fix the test (again).https://github.com/python/cpython/pull/126371/commits/d332da1675e1e448c06fa7b79e9aea75bff20c54
d332da1https://github.com/python/cpython/pull/126371/commits/d332da1675e1e448c06fa7b79e9aea75bff20c54
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Nov 3, 2024https://github.com/python/cpython/pull/126371#event-15096399325
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
corona10https://github.com/corona10
November 3, 2024 21:11https://github.com/python/cpython/pull/126371#event-15096399327
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 3, 2024https://github.com/python/cpython/pull/126371#event-15096399524
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Nov 3, 2024 https://github.com/python/cpython/pull/126371#ref-issue-2631276004
Abort in free-threaded build due to mutation of ChainMap of a Counter in threads #126366 https://github.com/python/cpython/issues/126366
https://github.com/ZeroIntensity
Fix doctest.https://github.com/python/cpython/pull/126371/commits/61fa342f75192d5f7f1ade8a59d2cf9f23c89ff4
61fa342https://github.com/python/cpython/pull/126371/commits/61fa342f75192d5f7f1ade8a59d2cf9f23c89ff4
https://github.com/corona10
corona10https://github.com/corona10
Nov 3, 2024https://github.com/python/cpython/pull/126371#issuecomment-2453624793
@colesburyhttps://github.com/colesbury
Please reload this pagehttps://github.com/python/cpython/pull/126371
https://github.com/corona10
corona10https://github.com/corona10
Nov 3, 2024https://github.com/python/cpython/pull/126371#issuecomment-2453624891
Please reload this pagehttps://github.com/python/cpython/pull/126371
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Nov 4, 2024 https://github.com/python/cpython/pull/126371#pullrequestreview-2413752175
View reviewed changes https://github.com/python/cpython/pull/126371/files/61fa342f75192d5f7f1ade8a59d2cf9f23c89ff4
Objects/listobject.chttps://github.com/python/cpython/pull/126371/files/61fa342f75192d5f7f1ade8a59d2cf9f23c89ff4#diff-67a42c5c0990c7aceea040ffc07905299aab97d64dc49adb256f85340b2c7e81
Please reload this pagehttps://github.com/python/cpython/pull/126371
ZeroIntensityhttps://github.com/ZeroIntensity
November 4, 2024 13:24https://github.com/python/cpython/pull/126371#commits-pushed-6b6b8e6
https://github.com/ZeroIntensity
Make generators thread safe.https://github.com/python/cpython/pull/126371/commits/6b6b8e64e6dd2630acaf7da9d96008fb3ef5fb2c
6b6b8e6https://github.com/python/cpython/pull/126371/commits/6b6b8e64e6dd2630acaf7da9d96008fb3ef5fb2c
https://github.com/ZeroIntensity
Move test to test_generators.https://github.com/python/cpython/pull/126371/commits/1b728428ca11f310bea6a17b226cf34755d29705
1b72842https://github.com/python/cpython/pull/126371/commits/1b728428ca11f310bea6a17b226cf34755d29705
https://github.com/ZeroIntensity
Update the blurbhttps://github.com/python/cpython/pull/126371/commits/684ccaff09177641bf4faec5f94f03bf0e1638f0
684ccafhttps://github.com/python/cpython/pull/126371/commits/684ccaff09177641bf4faec5f94f03bf0e1638f0
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
markshannonhttps://github.com/markshannon
code ownerhttps://github.com/python/cpython/blob/e5a4b402ae55f5eeeb44d3e7bc3f3ec39b249846/.github/CODEOWNERS#L24
November 4, 2024 18:28https://github.com/python/cpython/pull/126371#event-15108622854
ZeroIntensityhttps://github.com/ZeroIntensity
November 4, 2024 13:29https://github.com/python/cpython/pull/126371#commits-pushed-9edb265
https://github.com/ZeroIntensity
Remove changes to list tests.https://github.com/python/cpython/pull/126371/commits/9edb2659246c4800836f222781acb6e575623cb0
9edb265https://github.com/python/cpython/pull/126371/commits/9edb2659246c4800836f222781acb6e575623cb0
https://github.com/ZeroIntensity
Fix the test name.https://github.com/python/cpython/pull/126371/commits/3a1fe3ad5ab81474744fbbe7ec8da2eba49960bb
3a1fe3ahttps://github.com/python/cpython/pull/126371/commits/3a1fe3ad5ab81474744fbbe7ec8da2eba49960bb
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Nov 4, 2024https://github.com/python/cpython/pull/126371#event-15108644227
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Nov 4, 2024https://github.com/python/cpython/pull/126371#issuecomment-2455494780
#120327https://github.com/python/cpython/pull/120327
Please reload this pagehttps://github.com/python/cpython/pull/126371
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Nov 4, 2024https://github.com/python/cpython/pull/126371#event-15109092016
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Nov 6, 2024https://github.com/python/cpython/pull/126371#issuecomment-2459771768
@ZeroIntensityhttps://github.com/ZeroIntensity
Please reload this pagehttps://github.com/python/cpython/pull/126371
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Nov 6, 2024https://github.com/python/cpython/pull/126371#issuecomment-2459775905
Please reload this pagehttps://github.com/python/cpython/pull/126371
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Nov 6, 2024https://github.com/python/cpython/pull/126371#event-15150388454
ZeroIntensityhttps://github.com/ZeroIntensity
November 6, 2024 13:41https://github.com/python/cpython/pull/126371#commits-pushed-8e84dd4
https://github.com/ZeroIntensity
Add a lock in the _SEND instructionhttps://github.com/python/cpython/pull/126371/commits/8e84dd4ca9f27770af908383e578d89c2e8fcb3e
8e84dd4https://github.com/python/cpython/pull/126371/commits/8e84dd4ca9f27770af908383e578d89c2e8fcb3e
https://github.com/ZeroIntensity
Add a test in test_free_threading (by Ken)https://github.com/python/cpython/pull/126371/commits/517b7f881812c90d817a909168faf97bec1f7c8c
517b7f8https://github.com/python/cpython/pull/126371/commits/517b7f881812c90d817a909168faf97bec1f7c8c
https://github.com/ZeroIntensity
Fix failing build.https://github.com/python/cpython/pull/126371/commits/6276ae5476bb3c33a172d8a5c0d82808d9bcdee2
6276ae5https://github.com/python/cpython/pull/126371/commits/6276ae5476bb3c33a172d8a5c0d82808d9bcdee2
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Fidget-Spinnerhttps://github.com/Fidget-Spinner
November 6, 2024 14:21https://github.com/python/cpython/pull/126371#event-15151063046
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Nov 6, 2024 https://github.com/python/cpython/pull/126371#pullrequestreview-2418436998
View reviewed changes https://github.com/python/cpython/pull/126371/files/6276ae5476bb3c33a172d8a5c0d82808d9bcdee2
Python/bytecodes.chttps://github.com/python/cpython/pull/126371/files/6276ae5476bb3c33a172d8a5c0d82808d9bcdee2#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
Please reload this pagehttps://github.com/python/cpython/pull/126371
ZeroIntensityhttps://github.com/ZeroIntensity
December 24, 2024 11:08https://github.com/python/cpython/pull/126371#commits-pushed-55ea54d
https://github.com/ZeroIntensity
Use a critical section for close()https://github.com/python/cpython/pull/126371/commits/55ea54d4253c5daacd4fc2b8a1aaf46e850f7e22
55ea54dhttps://github.com/python/cpython/pull/126371/commits/55ea54d4253c5daacd4fc2b8a1aaf46e850f7e22
https://github.com/ZeroIntensity
Fix races with gi_frame_statehttps://github.com/python/cpython/pull/126371/commits/17b7acf37b793235930e226eae5423bc62b9aebd
17b7acfhttps://github.com/python/cpython/pull/126371/commits/17b7acf37b793235930e226eae5423bc62b9aebd
https://github.com/ZeroIntensity
Rerun clinic.https://github.com/python/cpython/pull/126371/commits/ccc65c65eeb40adeebb9b20dc7b6ff39dbd1519c
ccc65c6https://github.com/python/cpython/pull/126371/commits/ccc65c65eeb40adeebb9b20dc7b6ff39dbd1519c
https://github.com/ZeroIntensity
Put a critical section around bytecodes that access gi_frame_statehttps://github.com/python/cpython/pull/126371/commits/192b6a3f2e82f080c61214f3fc45b1a3b43b1a52
192b6a3https://github.com/python/cpython/pull/126371/commits/192b6a3f2e82f080c61214f3fc45b1a3b43b1a52
https://github.com/ZeroIntensity
Add more to the test.https://github.com/python/cpython/pull/126371/commits/2da46782c9b36d8dec8d08ff533e614615610884
2da4678https://github.com/python/cpython/pull/126371/commits/2da46782c9b36d8dec8d08ff533e614615610884
https://github.com/ZeroIntensity
Add a comment.https://github.com/python/cpython/pull/126371/commits/b34cde6290b9b9ece7f818ab4982abb1574594c7
b34cde6https://github.com/python/cpython/pull/126371/commits/b34cde6290b9b9ece7f818ab4982abb1574594c7
https://github.com/ZeroIntensity
Prevent logs from getting spammed.https://github.com/python/cpython/pull/126371/commits/2d03a136250fd6d73b6304a1deffb693fdadd4b6
2d03a13https://github.com/python/cpython/pull/126371/commits/2d03a136250fd6d73b6304a1deffb693fdadd4b6
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
vstinnerhttps://github.com/vstinner
December 24, 2024 16:44https://github.com/python/cpython/pull/126371#event-15757869579
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Dec 24, 2024https://github.com/python/cpython/pull/126371#event-15757869868
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Dec 25, 2024 https://github.com/python/cpython/pull/126371#pullrequestreview-2522584783
View reviewed changes https://github.com/python/cpython/pull/126371/files/2d03a136250fd6d73b6304a1deffb693fdadd4b6
vstinnerhttps://github.com/vstinner
https://github.com/python/cpython/pull/126371#pullrequestreview-2522584783
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/126371
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Dec 25, 2024 https://github.com/python/cpython/pull/126371#pullrequestreview-2522587846
View reviewed changes https://github.com/python/cpython/pull/126371/files/2d03a136250fd6d73b6304a1deffb693fdadd4b6
vstinnerhttps://github.com/vstinner
https://github.com/python/cpython/pull/126371#pullrequestreview-2522587846
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/126371
Objects/genobject.chttps://github.com/python/cpython/pull/126371/files/2d03a136250fd6d73b6304a1deffb693fdadd4b6#diff-2a0c449b68605ebd0872fd232e60ce7e838a77782a6d2e364764f99514fb508a
Please reload this pagehttps://github.com/python/cpython/pull/126371
Objects/genobject.chttps://github.com/python/cpython/pull/126371/files/2d03a136250fd6d73b6304a1deffb693fdadd4b6#diff-2a0c449b68605ebd0872fd232e60ce7e838a77782a6d2e364764f99514fb508a
Please reload this pagehttps://github.com/python/cpython/pull/126371
Objects/genobject.chttps://github.com/python/cpython/pull/126371/files/2d03a136250fd6d73b6304a1deffb693fdadd4b6#diff-2a0c449b68605ebd0872fd232e60ce7e838a77782a6d2e364764f99514fb508a
Please reload this pagehttps://github.com/python/cpython/pull/126371
Objects/genobject.chttps://github.com/python/cpython/pull/126371/files/2d03a136250fd6d73b6304a1deffb693fdadd4b6#diff-2a0c449b68605ebd0872fd232e60ce7e838a77782a6d2e364764f99514fb508a
Please reload this pagehttps://github.com/python/cpython/pull/126371
ZeroIntensityhttps://github.com/ZeroIntensity
December 25, 2024 11:42https://github.com/python/cpython/pull/126371#commits-pushed-80c3547
https://github.com/ZeroIntensity
https://github.com/vstinner
Update Objects/genobject.chttps://github.com/python/cpython/pull/126371/commits/80c3547b477830bdaaa28ef25bb472b0b928d49e
80c3547https://github.com/python/cpython/pull/126371/commits/80c3547b477830bdaaa28ef25bb472b0b928d49e
https://github.com/ZeroIntensity
Rerun clinic.https://github.com/python/cpython/pull/126371/commits/ee931930ff0c389964f98dcaf7a260a110ca43ea
ee93193https://github.com/python/cpython/pull/126371/commits/ee931930ff0c389964f98dcaf7a260a110ca43ea
https://github.com/ZeroIntensity
Rename _gen_throw to gen_throw_lock_heldhttps://github.com/python/cpython/pull/126371/commits/d6cc59a1c90ccb8521096b2fc89a0446d0dcb3ce
d6cc59ahttps://github.com/python/cpython/pull/126371/commits/d6cc59a1c90ccb8521096b2fc89a0446d0dcb3ce
https://github.com/ZeroIntensity
Add helper for gen_closehttps://github.com/python/cpython/pull/126371/commits/afbb669861894be2a67fd78d8c3c25879c6bb3b6
afbb669https://github.com/python/cpython/pull/126371/commits/afbb669861894be2a67fd78d8c3c25879c6bb3b6
https://github.com/ZeroIntensity
Rename to gen_getframe_lock_heldhttps://github.com/python/cpython/pull/126371/commits/6e45597da13401021823e2c0e981120feeeac5b8
6e45597https://github.com/python/cpython/pull/126371/commits/6e45597da13401021823e2c0e981120feeeac5b8
https://github.com/ZeroIntensity
Use argument clinic for some more things.https://github.com/python/cpython/pull/126371/commits/99105e766ceaf1ebcd5d3880c5c032f69177d98f
99105e7https://github.com/python/cpython/pull/126371/commits/99105e766ceaf1ebcd5d3880c5c032f69177d98f
https://github.com/ZeroIntensity
Fix some coroutine thread safety.https://github.com/python/cpython/pull/126371/commits/560df731779f84fdc7311f0e3c6280530a36d43d
560df73https://github.com/python/cpython/pull/126371/commits/560df731779f84fdc7311f0e3c6280530a36d43d
https://github.com/ZeroIntensity
Fix inconsistency with naming.https://github.com/python/cpython/pull/126371/commits/7cd787f38d7dfa8d321aedb5a9e3e3f9bf7857b1
7cd787fhttps://github.com/python/cpython/pull/126371/commits/7cd787f38d7dfa8d321aedb5a9e3e3f9bf7857b1
https://github.com/ZeroIntensity
Add tests for coroutines.https://github.com/python/cpython/pull/126371/commits/77a33bb4b3dfab87fdff44665c2d7f3636241255
77a33bbhttps://github.com/python/cpython/pull/126371/commits/77a33bb4b3dfab87fdff44665c2d7f3636241255
https://github.com/ZeroIntensity
Add some locking assertions.https://github.com/python/cpython/pull/126371/commits/173ba3b660f114fe015450a3566bcc5a46d25bd2
173ba3bhttps://github.com/python/cpython/pull/126371/commits/173ba3b660f114fe015450a3566bcc5a46d25bd2
https://github.com/ZeroIntensity
Don't try and re-lock the generator to clear it.https://github.com/python/cpython/pull/126371/commits/770ce0912b3e350c2204a0a947979280f3606713
770ce09https://github.com/python/cpython/pull/126371/commits/770ce0912b3e350c2204a0a947979280f3606713
https://github.com/ZeroIntensity
Add tests for async generators.https://github.com/python/cpython/pull/126371/commits/81e90bfe54755259bde65f940a8ae26bf6cf9e5a
81e90bfhttps://github.com/python/cpython/pull/126371/commits/81e90bfe54755259bde65f940a8ae26bf6cf9e5a
https://github.com/ZeroIntensity
Revert "Don't try and re-lock the generator to clear it."https://github.com/python/cpython/pull/126371/commits/415f0819ebf27ba742e8211d90f2f615951e32d3
415f081https://github.com/python/cpython/pull/126371/commits/415f0819ebf27ba742e8211d90f2f615951e32d3
770ce09https://github.com/ZeroIntensity/cpython/commit/770ce0912b3e350c2204a0a947979280f3606713
https://github.com/ZeroIntensity
Merge branch 'main' ofhttps://github.com/python/cpython/pull/126371/commits/568965325a219edfbf663b62e8f71bf21b43c756
https://github.com/python/cpythonhttps://github.com/python/cpython
into list-in…https://github.com/python/cpython/pull/126371/commits/568965325a219edfbf663b62e8f71bf21b43c756
5689653https://github.com/python/cpython/pull/126371/commits/568965325a219edfbf663b62e8f71bf21b43c756
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Jan 2, 2025https://github.com/python/cpython/pull/126371#issuecomment-2568151144
Please reload this pagehttps://github.com/python/cpython/pull/126371
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
January 2, 2025 17:55https://github.com/python/cpython/pull/126371#event-15801022037
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
Jan 2, 2025https://github.com/python/cpython/pull/126371#event-15801022443
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 19, 2026https://github.com/python/cpython/pull/126371#issuecomment-4275867106
Please reload this pagehttps://github.com/python/cpython/pull/126371
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Apr 19, 2026https://github.com/python/cpython/pull/126371#event-24650071825
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%2F126371
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/cpython/pull/126371/files/2d03a136250fd6d73b6304a1deffb693fdadd4b6
https://github.com/colesbury
colesbury https://github.com/colesbury
https://github.com/python/cpython/pull/126371/files/61fa342f75192d5f7f1ade8a59d2cf9f23c89ff4
https://github.com/Fidget-Spinner
Fidget-Spinner https://github.com/Fidget-Spinner
https://github.com/python/cpython/pull/126371/files/6276ae5476bb3c33a172d8a5c0d82808d9bcdee2
https://github.com/corona10
corona10 https://github.com/corona10
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/mpage
mpage https://github.com/mpage
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Please reload this pagehttps://github.com/python/cpython/pull/126371
https://github.com/ZeroIntensity
https://github.com/corona10
https://github.com/Fidget-Spinner
https://github.com/colesbury
https://github.com/vstinner
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.