René's URL Explorer Experiment


Title: gh-123471: Make concurrent iteration over itertools.accumulate thread-safe by eendebakpt · Pull Request #144486 · python/cpython · GitHub

Open Graph Title: gh-123471: Make concurrent iteration over itertools.accumulate thread-safe by eendebakpt · Pull Request #144486 · python/cpython

X Title: gh-123471: Make concurrent iteration over itertools.accumulate thread-safe by eendebakpt · Pull Request #144486 · python/cpython

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

Open Graph Description: We use a critical section similar to the approach in #132814. Note: the accumulate has mutable internal state lz->initial and lz->total. With some refactoring we can replace the lz->init p...

X Description: We use a critical section similar to the approach in #132814. Note: the accumulate has mutable internal state lz->initial and lz->total. With some refactoring we can replace the lz-&a...

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

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:182e5ea3-544e-a48c-667e-0d6485d8146e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD46A:2F0414:76465:A9C12:6A57720E
html-safe-nonce04228b1000b645385ff76fba16388664e72c03fab07307be73e862152f187f81
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDZBOjJGMDQxNDo3NjQ2NTpBOUMxMjo2QTU3NzIwRSIsInZpc2l0b3JfaWQiOiI0NjA4MTUwNzMzODQ1OTE4MjIyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace949568d85aa2a5a5b1d4195cf7c64d1a1d0ccbdb94e844dc6072b2501afd867
hovercard-subject-tagpull_request:3247342423
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/144486/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a44cc396c3ff00c8e205ff008421c4c67a9e84fe5746ae04771291e696b4d312/python/cpython/pull/144486
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a44cc396c3ff00c8e205ff008421c4c67a9e84fe5746ae04771291e696b4d312/python/cpython/pull/144486
og:image:altWe use a critical section similar to the approach in #132814. Note: the accumulate has mutable internal state lz->initial and lz->total. With some refactoring we can replace the lz->init p...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameeendebakpt
hostnamegithub.com
expected-hostnamegithub.com
None4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98
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
releasec0ca805e53f128ba1f966be1d3ccd81d0d1959c7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/144486#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F144486
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%2F144486
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/144486
Reloadhttps://github.com/python/cpython/pull/144486
Reloadhttps://github.com/python/cpython/pull/144486
Please reload this pagehttps://github.com/python/cpython/pull/144486
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/144486
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:accumulate_ft_v2https://github.com/eendebakpt/cpython/tree/accumulate_ft_v2
Conversationhttps://github.com/python/cpython/pull/144486
Commits8 (8)https://github.com/python/cpython/pull/144486/commits
Checkshttps://github.com/python/cpython/pull/144486/checks
Files changedhttps://github.com/python/cpython/pull/144486/files
gh-123471: Make concurrent iteration over itertools.accumulate thread-safehttps://github.com/python/cpython/pull/144486#top
kumaraditya303https://github.com/kumaraditya303
python:mainhttps://github.com/python/cpython/tree/main
eendebakpt:accumulate_ft_v2https://github.com/eendebakpt/cpython/tree/accumulate_ft_v2
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
Feb 4, 2026https://github.com/python/cpython/pull/144486#issue-3898291183
Please reload this pagehttps://github.com/python/cpython/pull/144486
#132814https://github.com/python/cpython/pull/132814
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/144486
eendebakpthttps://github.com/eendebakpt
February 4, 2026 21:01https://github.com/python/cpython/pull/144486#commits-pushed-e77b639
https://github.com/eendebakpt
Make accumulate thread-safehttps://github.com/python/cpython/pull/144486/commits/e77b639554500903aa9ec6927e3921cddb5d7a47
e77b639https://github.com/python/cpython/pull/144486/commits/e77b639554500903aa9ec6927e3921cddb5d7a47
https://github.com/eendebakpt
add ft test for accumulatehttps://github.com/python/cpython/pull/144486/commits/2621b8847e13e1e2fc428d7b609304053f444a5a
2621b88https://github.com/python/cpython/pull/144486/commits/2621b8847e13e1e2fc428d7b609304053f444a5a
https://github.com/eendebakpt
reduce test durationhttps://github.com/python/cpython/pull/144486/commits/bd4fa041e85aa403eb9c2b3f4fec9fc1c3e56860
bd4fa04https://github.com/python/cpython/pull/144486/commits/bd4fa041e85aa403eb9c2b3f4fec9fc1c3e56860
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
rhettingerhttps://github.com/rhettinger
code ownerhttps://github.com/python/cpython/blob/b6d8aa436b0108fcc90cb13f9be864cfd4ea2ca7/.github/CODEOWNERS#L511
February 4, 2026 20:29https://github.com/python/cpython/pull/144486#event-22539693541
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
Feb 4, 2026https://github.com/python/cpython/pull/144486#event-22539694637
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Feb 4, 2026 https://github.com/python/cpython/pull/144486#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
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
topic-free-threading https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading
Feb 4, 2026https://github.com/python/cpython/pull/144486#event-22539699678
blurb-ithttps://github.com/apps/blurb-it
February 4, 2026 20:31https://github.com/python/cpython/pull/144486#commits-pushed-124450b
https://github.com/apps/blurb-it
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/144486/commits/124450b8963d65e36e9257f146240e88914aaa59
124450bhttps://github.com/python/cpython/pull/144486/commits/124450b8963d65e36e9257f146240e88914aaa59
https://github.com/apps/blurb-it
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/144486/commits/2511892b4d991ffa40ec7bc08ee32e2e634ff8b8
2511892https://github.com/python/cpython/pull/144486/commits/2511892b4d991ffa40ec7bc08ee32e2e634ff8b8
https://github.com/eendebakpt
Delete Misc/NEWS.d/next/Library/2026-02-05-20-40-20.gh-issue-123471.U…https://github.com/python/cpython/pull/144486/commits/06fef05283378d4e39daad877070d19570ebea92
06fef05https://github.com/python/cpython/pull/144486/commits/06fef05283378d4e39daad877070d19570ebea92
https://github.com/eendebakpt
Merge branch 'main' into accumulate_ft_v2https://github.com/python/cpython/pull/144486/commits/eea0675d6cc85046606fbc03dee65065854b2746
eea0675https://github.com/python/cpython/pull/144486/commits/eea0675d6cc85046606fbc03dee65065854b2746
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Mar 7, 2026 https://github.com/python/cpython/pull/144486#pullrequestreview-3908207472
View reviewed changes https://github.com/python/cpython/pull/144486/files/aa9991ddc68cfa48213fad883c7b3e1060c9bd27
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
Mar 7, 2026https://github.com/python/cpython/pull/144486#event-23355333159
https://github.com/kumaraditya303
Merge branch 'main' into accumulate_ft_v2https://github.com/python/cpython/pull/144486/commits/aa9991ddc68cfa48213fad883c7b3e1060c9bd27
aa9991dhttps://github.com/python/cpython/pull/144486/commits/aa9991ddc68cfa48213fad883c7b3e1060c9bd27
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
March 16, 2026 08:27https://github.com/python/cpython/pull/144486#event-23598703773
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
3a24856https://github.com/python/cpython/commit/3a248564470075cb8c7b8a75fe7ba61f7ea341b2
Mar 16, 2026https://github.com/python/cpython/pull/144486#event-23599423868
Please reload this pagehttps://github.com/python/cpython/pull/144486
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
Mar 16, 2026https://github.com/python/cpython/pull/144486#event-23599425615
ljfphttps://github.com/ljfp
Apr 25, 2026 https://github.com/python/cpython/pull/144486#ref-commit-d2cc62e
https://github.com/eendebakpt
https://github.com/ljfp
pythongh-123471https://github.com/python/cpython/issues/123471
: make concurrent iteration over itertools.accumulate …https://github.com/ljfp/cpython/commit/d2cc62e05feb8d7223457b532d799e4da67150a7
d2cc62ehttps://github.com/ljfp/cpython/commit/d2cc62e05feb8d7223457b532d799e4da67150a7
python#144486https://github.com/python/cpython/pull/144486
https://github.com/nascheme
naschemehttps://github.com/nascheme
Jul 14, 2026 https://github.com/python/cpython/pull/144486#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%2F144486
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
https://github.com/python/cpython/pull/144486/files/aa9991ddc68cfa48213fad883c7b3e1060c9bd27
https://github.com/rhettinger
rhettinger https://github.com/rhettinger
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/144486
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.