René's URL Explorer Experiment


Title: gh-123471: Make itertools.product and itertools.combinations thread-safe by eendebakpt · Pull Request #132814 · python/cpython · GitHub

Open Graph Title: gh-123471: Make itertools.product and itertools.combinations thread-safe by eendebakpt · Pull Request #132814 · python/cpython

X Title: gh-123471: Make itertools.product and itertools.combinations thread-safe by eendebakpt · Pull Request #132814 · python/cpython

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

Open Graph Description: We make concurrent iteration over itertools.combinations and itertools.product thread safe in the free-threading build. The original combinations_next is renamed to combinations_next_with_lock_hel...

X Description: We make concurrent iteration over itertools.combinations and itertools.product thread safe in the free-threading build. The original combinations_next is renamed to combinations_next_with_lock_hel...

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

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:56db1de4-8565-4f3b-b402-cb4b55d01c3a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA32E:3A3FC4:284EC1:36F6C4:6A57FC27
html-safe-nonce7f860b95f7f97f31be7508af4857476f67b8ae6d2cd8ba3f363765c78c6363ec
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzJFOjNBM0ZDNDoyODRFQzE6MzZGNkM0OjZBNTdGQzI3IiwidmlzaXRvcl9pZCI6IjI2NjAxOTEyNjkwNTAzODMzOTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaced3d608d6cb700114338601e6d76cb4d99bdcbdac1c6bb8658b9a1c4b2279172
hovercard-subject-tagpull_request:2474538597
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/132814/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0b83f64ea1686d509d6ed9a7fdf71503da413f1c984fc0efa4031b409a23e16b/python/cpython/pull/132814
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0b83f64ea1686d509d6ed9a7fdf71503da413f1c984fc0efa4031b409a23e16b/python/cpython/pull/132814
og:image:altWe make concurrent iteration over itertools.combinations and itertools.product thread safe in the free-threading build. The original combinations_next is renamed to combinations_next_with_lock_hel...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameeendebakpt
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
release3fb1f684e7a833eb1b2d01d39875a2b52cb4fe9b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/132814#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F132814
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%2F132814
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/132814
Reloadhttps://github.com/python/cpython/pull/132814
Reloadhttps://github.com/python/cpython/pull/132814
Please reload this pagehttps://github.com/python/cpython/pull/132814
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/132814
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
eendebakpt:itertools_combinations_fthttps://github.com/eendebakpt/cpython/tree/itertools_combinations_ft
Conversationhttps://github.com/python/cpython/pull/132814
Commits7 (7)https://github.com/python/cpython/pull/132814/commits
Checkshttps://github.com/python/cpython/pull/132814/checks
Files changedhttps://github.com/python/cpython/pull/132814/files
gh-123471: Make itertools.product and itertools.combinations thread-safehttps://github.com/python/cpython/pull/132814#top
kumaraditya303https://github.com/kumaraditya303
python:mainhttps://github.com/python/cpython/tree/main
eendebakpt:itertools_combinations_fthttps://github.com/eendebakpt/cpython/tree/itertools_combinations_ft
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
Apr 22, 2025https://github.com/python/cpython/pull/132814#issue-3012115450
Please reload this pagehttps://github.com/python/cpython/pull/132814
cpython/Modules/itertoolsmodule.chttps://github.com/python/cpython/blob/a4ea80d52394bafffb2257abbe815c7ffdb003a3/Modules/itertoolsmodule.c#L2342
a4ea80dhttps://github.com/python/cpython/commit/a4ea80d52394bafffb2257abbe815c7ffdb003a3
https://github.com/python/cpython/blob/main/Modules/itertoolsmodule.c#L2379https://github.com/python/cpython/blob/main/Modules/itertoolsmodule.c#L2379
https://github.com/python/cpython/blob/main/Modules/itertoolsmodule.c#L2346https://github.com/python/cpython/blob/main/Modules/itertoolsmodule.c#L2346
itertoolsmodule.c#L2380-L2381https://github.com/python/cpython/blob/a4ea80d52394bafffb2257abbe815c7ffdb003a3/Modules/itertoolsmodule.c#L2380-L2381
Make concurrent iteration over pairwise, combinations, permutations, cwr, product, etc. from itertools safe under free-threading #123471https://github.com/python/cpython/issues/123471
Please reload this pagehttps://github.com/python/cpython/pull/132814
https://github.com/eendebakpt
Make itertools.product and itertools.combinations thread-safehttps://github.com/python/cpython/pull/132814/commits/f20855cb4ad9968b21ff31d45e7a66f2ee7b0cfa
f20855chttps://github.com/python/cpython/pull/132814/commits/f20855cb4ad9968b21ff31d45e7a66f2ee7b0cfa
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
rhettingerhttps://github.com/rhettinger
code ownerhttps://github.com/python/cpython/blob/a4ea80d52394bafffb2257abbe815c7ffdb003a3/.github/CODEOWNERS#L235
April 22, 2025 20:58https://github.com/python/cpython/pull/132814#event-17360210655
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
Apr 22, 2025https://github.com/python/cpython/pull/132814#event-17360211363
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Apr 22, 2025 https://github.com/python/cpython/pull/132814#ref-issue-2494501268
Make concurrent iteration over pairwise, combinations, permutations, cwr, product, etc. from itertools safe under free-threading #123471 https://github.com/python/cpython/issues/123471
blurb-ithttps://github.com/apps/blurb-it
April 22, 2025 21:00https://github.com/python/cpython/pull/132814#commits-pushed-6f14bd0
https://github.com/apps/blurb-it
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/132814/commits/6f14bd0c15cee9eb5a1a0a8763dfdf27ad01cc37
6f14bd0https://github.com/python/cpython/pull/132814/commits/6f14bd0c15cee9eb5a1a0a8763dfdf27ad01cc37
https://github.com/eendebakpt
whitespacehttps://github.com/python/cpython/pull/132814/commits/a204f6db8d4b90f6e131396a0bdc94659d69b025
a204f6dhttps://github.com/python/cpython/pull/132814/commits/a204f6db8d4b90f6e131396a0bdc94659d69b025
https://github.com/eendebakpt
Merge branch 'itertools_combinations_ft' of github.com:eendebakpt/cpy…https://github.com/python/cpython/pull/132814/commits/cdfe7c2eb0990ed561db6de729d4917aac8ba244
cdfe7c2https://github.com/python/cpython/pull/132814/commits/cdfe7c2eb0990ed561db6de729d4917aac8ba244
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
April 22, 2025 22:22https://github.com/python/cpython/pull/132814#event-17361062594
https://github.com/eendebakpt
Merge branch 'main' into itertools_combinations_fthttps://github.com/python/cpython/pull/132814/commits/24c8f68252baa97c28adbd5ce86936bebee6e2ce
24c8f68https://github.com/python/cpython/pull/132814/commits/24c8f68252baa97c28adbd5ce86936bebee6e2ce
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
topic-free-threading https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading
Jun 23, 2025https://github.com/python/cpython/pull/132814#event-18268595214
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Jun 25, 2025 https://github.com/python/cpython/pull/132814#pullrequestreview-2958102189
View reviewed changes https://github.com/python/cpython/pull/132814/files/7ab53c30afe7837bef085df6fbb4c3c5cff32b76
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 25, 2025https://github.com/python/cpython/pull/132814#event-18316525030
https://github.com/kumaraditya303
Merge branch 'main' into itertools_combinations_fthttps://github.com/python/cpython/pull/132814/commits/7ab53c30afe7837bef085df6fbb4c3c5cff32b76
7ab53c3https://github.com/python/cpython/pull/132814/commits/7ab53c30afe7837bef085df6fbb4c3c5cff32b76
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Jun 30, 2025 https://github.com/python/cpython/pull/132814#pullrequestreview-2970813675
View reviewed changes https://github.com/python/cpython/pull/132814/files/7ab53c30afe7837bef085df6fbb4c3c5cff32b76
Modules/itertoolsmodule.chttps://github.com/python/cpython/pull/132814/files/7ab53c30afe7837bef085df6fbb4c3c5cff32b76#diff-dc27cbdf2b9f6e5236cade13cf301d352a7abd2a8b1988f2517d6f5b7a30c201
Please reload this pagehttps://github.com/python/cpython/pull/132814
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Jun 30, 2025 https://github.com/python/cpython/pull/132814#pullrequestreview-2970814029
View reviewed changes https://github.com/python/cpython/pull/132814/files/7ab53c30afe7837bef085df6fbb4c3c5cff32b76
Modules/itertoolsmodule.chttps://github.com/python/cpython/pull/132814/files/7ab53c30afe7837bef085df6fbb4c3c5cff32b76#diff-dc27cbdf2b9f6e5236cade13cf301d352a7abd2a8b1988f2517d6f5b7a30c201
Please reload this pagehttps://github.com/python/cpython/pull/132814
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Jun 30, 2025 https://github.com/python/cpython/pull/132814#pullrequestreview-2970814846
View reviewed changes https://github.com/python/cpython/pull/132814/files/7ab53c30afe7837bef085df6fbb4c3c5cff32b76
https://github.com/kumaraditya303
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/132814/commits/ba9c4b7fdc9f86b77c0990f514d6206735ce8578
ba9c4b7https://github.com/python/cpython/pull/132814/commits/ba9c4b7fdc9f86b77c0990f514d6206735ce8578
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
June 30, 2025 11:05https://github.com/python/cpython/pull/132814#event-18384454723
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
847d1c2https://github.com/python/cpython/commit/847d1c2cb4014f122df64e0db0b3b554c01779c6
Jun 30, 2025https://github.com/python/cpython/pull/132814#event-18384886189
Please reload this pagehttps://github.com/python/cpython/pull/132814
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 30, 2025https://github.com/python/cpython/pull/132814#event-18384887250
AndPuQinghttps://github.com/AndPuQing
Jul 11, 2025 https://github.com/python/cpython/pull/132814#ref-commit-9bfe4b5
https://github.com/eendebakpt
https://github.com/kumaraditya303
https://github.com/AndPuQing
pythongh-123471https://github.com/python/cpython/issues/123471
: Make itertools.product and itertools.combinations th…https://github.com/AndPuQing/cpython/commit/9bfe4b52ff974b778258c6c26f5b27b3f864735b
9bfe4b5https://github.com/AndPuQing/cpython/commit/9bfe4b52ff974b778258c6c26f5b27b3f864735b
python#132814https://github.com/python/cpython/pull/132814
Pranjal095https://github.com/Pranjal095
Jul 12, 2025 https://github.com/python/cpython/pull/132814#ref-commit-d1eec01
https://github.com/eendebakpt
https://github.com/kumaraditya303
https://github.com/Pranjal095
pythongh-123471https://github.com/python/cpython/issues/123471
: Make itertools.product and itertools.combinations th…https://github.com/Pranjal095/cpython/commit/d1eec019c9e4e0208bad12040687fc686fcabd9d
d1eec01https://github.com/Pranjal095/cpython/commit/d1eec019c9e4e0208bad12040687fc686fcabd9d
python#132814https://github.com/python/cpython/pull/132814
picnixzhttps://github.com/picnixz
Jul 13, 2025 https://github.com/python/cpython/pull/132814#ref-commit-9fc49d1
https://github.com/eendebakpt
https://github.com/kumaraditya303
https://github.com/picnixz
pythongh-123471https://github.com/python/cpython/issues/123471
: Make itertools.product and itertools.combinations th…https://github.com/picnixz/cpython/commit/9fc49d16d57677bd699f3b5eb9ba9354cfacc0f5
9fc49d1https://github.com/picnixz/cpython/commit/9fc49d16d57677bd699f3b5eb9ba9354cfacc0f5
python#132814https://github.com/python/cpython/pull/132814
taegyunkimhttps://github.com/taegyunkim
Aug 4, 2025 https://github.com/python/cpython/pull/132814#ref-commit-c76ab5b
https://github.com/eendebakpt
https://github.com/kumaraditya303
https://github.com/taegyunkim
pythongh-123471https://github.com/python/cpython/issues/123471
: Make itertools.product and itertools.combinations th…https://github.com/taegyunkim/cpython/commit/c76ab5bd59f70ac9deab883409ff4036ad4ae1ba
c76ab5bhttps://github.com/taegyunkim/cpython/commit/c76ab5bd59f70ac9deab883409ff4036ad4ae1ba
python#132814https://github.com/python/cpython/pull/132814
Agent-Hellboyhttps://github.com/Agent-Hellboy
Aug 19, 2025 https://github.com/python/cpython/pull/132814#ref-commit-d42b23e
https://github.com/eendebakpt
https://github.com/kumaraditya303
https://github.com/Agent-Hellboy
pythongh-123471https://github.com/python/cpython/issues/123471
: Make itertools.product and itertools.combinations th…https://github.com/Agent-Hellboy/cpython/commit/d42b23ed85d7317a05d129a11a2a8afb10c2a9a3
d42b23ehttps://github.com/Agent-Hellboy/cpython/commit/d42b23ed85d7317a05d129a11a2a8afb10c2a9a3
python#132814https://github.com/python/cpython/pull/132814
gh-123471: Make concurrent iteration over itertools.permutations and itertools.combinations_with_replacement thread-safe #144402 https://github.com/python/cpython/pull/144402
gh-123471: Make concurrent iteration over itertools.accumulate thread-safe #144486 https://github.com/python/cpython/pull/144486
gh-123471: Make concurrent iteration over itertools.pairwise thread-safe #144489 https://github.com/python/cpython/pull/144489
https://github.com/nascheme
naschemehttps://github.com/nascheme
Jul 14, 2026 https://github.com/python/cpython/pull/132814#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%2F132814
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
https://github.com/python/cpython/pull/132814/files/7ab53c30afe7837bef085df6fbb4c3c5cff32b76
topic-free-threading https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading
Please reload this pagehttps://github.com/python/cpython/pull/132814
https://github.com/eendebakpt
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.