René's URL Explorer Experiment


Title: [3.14] gh-123471: Free-threading fixes for itertools (GH-131212) (GH-132814) (GH-135689) (GH-144402) (GH-146033) (GH-142957) by nascheme · Pull Request #153791 · python/cpython · GitHub

Open Graph Title: [3.14] gh-123471: Free-threading fixes for itertools (GH-131212) (GH-132814) (GH-135689) (GH-144402) (GH-146033) (GH-142957) by nascheme · Pull Request #153791 · python/cpython

X Title: [3.14] gh-123471: Free-threading fixes for itertools (GH-131212) (GH-132814) (GH-135689) (GH-144402) (GH-146033) (GH-142957) by nascheme · Pull Request #153791 · python/cpython

Description: This is a combined backport of a number of fixes to the itertools module. These PRs have already been backported to 3.15. Issue: gh-123471

Open Graph Description: This is a combined backport of a number of fixes to the itertools module. These PRs have already been backported to 3.15. Issue: gh-123471

X Description: This is a combined backport of a number of fixes to the itertools module. These PRs have already been backported to 3.15. Issue: gh-123471

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e0a12088-a6a2-9ec6-d8d7-1764e65f45b8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9A2A:21896:CC0783:107C9D9:6A5AE96F
html-safe-nonce44b68f8116410294a8a0cbe4b456d0ea89c44d11232f8092bbc23c9cd1d49683
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTJBOjIxODk2OkNDMDc4MzoxMDdDOUQ5OjZBNUFFOTZGIiwidmlzaXRvcl9pZCI6IjI4NTg1NTczNDQzODg0MDk3MTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6c877b466d23f5b69b6255925f26ad617ad734023ae927259da36c326e6b5370
hovercard-subject-tagpull_request:4065201033
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/153791/files
twitter:imagehttps://avatars.githubusercontent.com/u/690853?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/690853?s=400&v=4
og:image:altThis is a combined backport of a number of fixes to the itertools module. These PRs have already been backported to 3.15. Issue: gh-123471
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/153791/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F153791%2Ffiles
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%2F153791%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/153791/files
Reloadhttps://github.com/python/cpython/pull/153791/files
Reloadhttps://github.com/python/cpython/pull/153791/files
Please reload this pagehttps://github.com/python/cpython/pull/153791/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/153791/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
naschemehttps://github.com/nascheme
python:3.14https://github.com/python/cpython/tree/3.14
nascheme:ft-backport/gh-123471-3.14https://github.com/nascheme/cpython/tree/ft-backport/gh-123471-3.14
Conversation 1 https://github.com/python/cpython/pull/153791
Commits 6 https://github.com/python/cpython/pull/153791/commits
Checks 54 https://github.com/python/cpython/pull/153791/checks
Files changed https://github.com/python/cpython/pull/153791/files
Please reload this pagehttps://github.com/python/cpython/pull/153791/files
[3.14] gh-123471: Free-threading fixes for itertools (GH-131212) (GH-132814) (GH-135689) (GH-144402) (GH-146033) (GH-142957) https://github.com/python/cpython/pull/153791/files#top
Show all changes 6 commits https://github.com/python/cpython/pull/153791/files
0af6ff7 [3.14] gh-123471: make concurrent iteration over `itertools.cycle` sa… eendebakpt Jun 2, 2025 https://github.com/python/cpython/pull/153791/commits/0af6ff789e5acc4ab83bb8db75270711357fbb87
42009b6 [3.14] gh-123471: Make itertools.product and itertools.combinations t… eendebakpt Jun 30, 2025 https://github.com/python/cpython/pull/153791/commits/42009b60e44164ebc1f1b282f5ab377ae1019036
15c880e [3.14] gh-123471: Make itertools.chain thread-safe (#135689) eendebakpt Jun 30, 2025 https://github.com/python/cpython/pull/153791/commits/15c880e2c422797b58b2c1d563cb603611e610a9
98af922 [3.14] gh-123471: Make concurrent iteration over `itertools.permutati… eendebakpt Feb 4, 2026 https://github.com/python/cpython/pull/153791/commits/98af9225dd6d49f0450544e6e09ee56fbc9e9153
c1708a9 [3.14] gh-123471: make concurrent iteration over itertools.accumulate… eendebakpt Mar 16, 2026 https://github.com/python/cpython/pull/153791/commits/c1708a9c6ab55139844d3928448b7b21a4ecfb46
6935fd1 [3.14] gh-123471: Make `itertools.zip_longest` safe in the FT build (… eendebakpt Mar 27, 2026 https://github.com/python/cpython/pull/153791/commits/6935fd134768b2d7676cd7820688da0161e54674
Clear filters https://github.com/python/cpython/pull/153791/files
Please reload this pagehttps://github.com/python/cpython/pull/153791/files
Please reload this pagehttps://github.com/python/cpython/pull/153791/files
test_itertools.py https://github.com/python/cpython/pull/153791/files#diff-7362be533ffc13087d21c8aad53b5408e236b985fe2ea62a082f5f401883a135
test_itertools_combinatoric.py https://github.com/python/cpython/pull/153791/files#diff-2bb5d94fc763856ec0cd3b17f75aa857c797e81f36e538494e77974e215d55f1
2025-03-13-20-48-58.gh-issue-123471.cM4w4f.rst https://github.com/python/cpython/pull/153791/files#diff-1281c4f288b025ede481f3b6af1fcebe6c8e27e8e541c7165ec780ecee470007
2025-04-22-21-00-23.gh-issue-123471.asOLA2.rst https://github.com/python/cpython/pull/153791/files#diff-89f72bc256fb559433d7d1124b783aa69e68e29c4aa5e335a24394f164447581
2025-06-18-19-25-32.gh-issue-123471.lx1Xbt.rst https://github.com/python/cpython/pull/153791/files#diff-233609637928b1f9a2ddd9106c2f08b8e2a6ba90cffd9fa9115ca911dc0a58a7
2026-02-03-08-50-58.gh-issue-123471.yF1Gym.rst https://github.com/python/cpython/pull/153791/files#diff-a2ffed9524d74e720926b9bf3ca2c167349b48bcd374250e4ec8f3dd65e6a02c
2026-02-04-20-30-59.gh-issue-123471.1dnPvs.rst https://github.com/python/cpython/pull/153791/files#diff-b302872ab1c1f5829f6d827fa5e8ce559caf4e12acb89212aa7cffc47a845b32
2026-03-17-19-51-05.gh-issue-123471.oY4UR5.rst https://github.com/python/cpython/pull/153791/files#diff-3a3b75f36e364e1c8ef1b59102ffb968a0b33727f292e9a1102453c7186b8c16
itertoolsmodule.c https://github.com/python/cpython/pull/153791/files#diff-dc27cbdf2b9f6e5236cade13cf301d352a7abd2a8b1988f2517d6f5b7a30c201
https://github.com/python/cpython/blob/3.14/.github/CODEOWNERS#L245
Lib/test/test_free_threading/test_itertools.pyhttps://github.com/python/cpython/pull/153791/files#diff-7362be533ffc13087d21c8aad53b5408e236b985fe2ea62a082f5f401883a135
View file https://github.com/nascheme/cpython/blob/6935fd134768b2d7676cd7820688da0161e54674/Lib/test/test_free_threading/test_itertools.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/153791/{{ revealButtonHref }}
https://github.com/python/cpython/pull/153791/files#diff-7362be533ffc13087d21c8aad53b5408e236b985fe2ea62a082f5f401883a135
https://github.com/python/cpython/blob/3.14/.github/CODEOWNERS#L245
Lib/test/test_free_threading/test_itertools_combinatoric.pyhttps://github.com/python/cpython/pull/153791/files#diff-2bb5d94fc763856ec0cd3b17f75aa857c797e81f36e538494e77974e215d55f1
View file https://github.com/nascheme/cpython/blob/6935fd134768b2d7676cd7820688da0161e54674/Lib/test/test_free_threading/test_itertools_combinatoric.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/153791/{{ revealButtonHref }}
Misc/NEWS.d/next/Library/2025-03-13-20-48-58.gh-issue-123471.cM4w4f.rsthttps://github.com/python/cpython/pull/153791/files#diff-1281c4f288b025ede481f3b6af1fcebe6c8e27e8e541c7165ec780ecee470007
View file https://github.com/nascheme/cpython/blob/6935fd134768b2d7676cd7820688da0161e54674/Misc/NEWS.d/next/Library/2025-03-13-20-48-58.gh-issue-123471.cM4w4f.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/153791/{{ revealButtonHref }}
Misc/NEWS.d/next/Library/2025-04-22-21-00-23.gh-issue-123471.asOLA2.rsthttps://github.com/python/cpython/pull/153791/files#diff-89f72bc256fb559433d7d1124b783aa69e68e29c4aa5e335a24394f164447581
View file https://github.com/nascheme/cpython/blob/6935fd134768b2d7676cd7820688da0161e54674/Misc/NEWS.d/next/Library/2025-04-22-21-00-23.gh-issue-123471.asOLA2.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/153791/{{ revealButtonHref }}
Misc/NEWS.d/next/Library/2025-06-18-19-25-32.gh-issue-123471.lx1Xbt.rsthttps://github.com/python/cpython/pull/153791/files#diff-233609637928b1f9a2ddd9106c2f08b8e2a6ba90cffd9fa9115ca911dc0a58a7
View file https://github.com/nascheme/cpython/blob/6935fd134768b2d7676cd7820688da0161e54674/Misc/NEWS.d/next/Library/2025-06-18-19-25-32.gh-issue-123471.lx1Xbt.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/153791/{{ revealButtonHref }}
Misc/NEWS.d/next/Library/2026-02-03-08-50-58.gh-issue-123471.yF1Gym.rsthttps://github.com/python/cpython/pull/153791/files#diff-a2ffed9524d74e720926b9bf3ca2c167349b48bcd374250e4ec8f3dd65e6a02c
View file https://github.com/nascheme/cpython/blob/6935fd134768b2d7676cd7820688da0161e54674/Misc/NEWS.d/next/Library/2026-02-03-08-50-58.gh-issue-123471.yF1Gym.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/153791/{{ revealButtonHref }}
Misc/NEWS.d/next/Library/2026-02-04-20-30-59.gh-issue-123471.1dnPvs.rsthttps://github.com/python/cpython/pull/153791/files#diff-b302872ab1c1f5829f6d827fa5e8ce559caf4e12acb89212aa7cffc47a845b32
View file https://github.com/nascheme/cpython/blob/6935fd134768b2d7676cd7820688da0161e54674/Misc/NEWS.d/next/Library/2026-02-04-20-30-59.gh-issue-123471.1dnPvs.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/153791/{{ revealButtonHref }}
Misc/NEWS.d/next/Library/2026-03-17-19-51-05.gh-issue-123471.oY4UR5.rsthttps://github.com/python/cpython/pull/153791/files#diff-3a3b75f36e364e1c8ef1b59102ffb968a0b33727f292e9a1102453c7186b8c16
View file https://github.com/nascheme/cpython/blob/6935fd134768b2d7676cd7820688da0161e54674/Misc/NEWS.d/next/Library/2026-03-17-19-51-05.gh-issue-123471.oY4UR5.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/153791/{{ revealButtonHref }}
Please reload this pagehttps://github.com/python/cpython/pull/153791/files
Please reload this pagehttps://github.com/python/cpython/pull/153791/files
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.