Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.3k
Star
75.3k
Code
Issues
5k+
Pull requests
2.6k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Modules
itertoolsmodule.c
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Jul 18, 2026
gh-153908: Fix data race in `itertools.count.__repr__` (GH-153917)
johng
authored
5200f11
View commit details
Copy full SHA for 5200f11
View code at this point
Browse repository at this point
Commits on Jul 10, 2026
gh-153062: Fix a crash iterating itertools.tee on the free-threaded build (gh-153063)
Show description for 6c389c4
tonghuaroot
and
nascheme
authored
6c389c4
View commit details
Copy full SHA for 6c389c4
View code at this point
Browse repository at this point
Commits on Jun 2, 2026
gh-150319: Replace all documentation which says "See PEP 585" (#150325)
Show description for 50fe49c
4 people
authored
50fe49c
View commit details
Copy full SHA for 50fe49c
View code at this point
Browse repository at this point
Commits on May 24, 2026
gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338)
serhiy-storchaka
authored
287c98f
View commit details
Copy full SHA for 287c98f
View code at this point
Browse repository at this point
Commits on Apr 2, 2026
GH-145247: Use _PyTuple_FromPair in Modules (part 1) (#148000)
sergey-miryanov
authored
0c10066
View commit details
Copy full SHA for 0c10066
View code at this point
Browse repository at this point
gh-146613: Fix re-entrant use-after-free in `itertools._grouper` (#147962)
TheSkyC
authored
fc7a188
View commit details
Copy full SHA for fc7a188
View code at this point
Browse repository at this point
Commits on Mar 27, 2026
gh-123471: Make `itertools.zip_longest` safe in the FT build (#146033)
eendebakpt
authored
9214e3f
View commit details
Copy full SHA for 9214e3f
View code at this point
Browse repository at this point
Commits on Mar 24, 2026
gh-128341: Use _Py_ABI_SLOT in stdlib modules (#145770)
Show description for 1887a95
befeleme
and
vstinner
authored
1887a95
View commit details
Copy full SHA for 1887a95
View code at this point
Browse repository at this point
Commits on Mar 16, 2026
gh-123471: make concurrent iteration over itertools.accumulate thread-safe (#144486)
eendebakpt
authored
3a24856
View commit details
Copy full SHA for 3a24856
View code at this point
Browse repository at this point
Commits on Mar 9, 2026
gh-145376: Fix various reference leaks in Objects/ and Modules/ (#145385)
Show description for 886bc6e
eendebakpt
and
blurb-it[bot]
authored
886bc6e
View commit details
Copy full SHA for 886bc6e
View code at this point
Browse repository at this point
Commits on Feb 9, 2026
gh-143543: Fix re-entrant use-after-free in itertools.groupby (GH-143738)
Show description for a91b5c3
3 people
authored
a91b5c3
View commit details
Copy full SHA for a91b5c3
View code at this point
Browse repository at this point
Commits on Feb 4, 2026
gh-123471: Make concurrent iteration over `itertools.permutations` and `itertools.combinations_with_replacement` thread-safe (gh-144402)
eendebakpt
authored
009c8c0
View commit details
Copy full SHA for 009c8c0
View code at this point
Browse repository at this point
Commits on Oct 15, 2025
gh-140061: Use `_PyObject_IsUniquelyReferenced()` to check if objects are uniquely referenced (gh-140062)
Show description for 32c2649
sergey-miryanov
authored
32c2649
View commit details
Copy full SHA for 32c2649
View code at this point
Browse repository at this point
Commits on Oct 11, 2025
gh-111489: Remove _PyTuple_FromArray() alias (#139973)
Show description for 166cdaa
vstinner
authored
166cdaa
View commit details
Copy full SHA for 166cdaa
View code at this point
Browse repository at this point
Commits on Sep 2, 2025
GH-135763: AC: Use ``Py_ssize_t(allow_negative=False)`` (#138394)
AA-Turner
authored
98b4cd6
View commit details
Copy full SHA for 98b4cd6
View code at this point
Browse repository at this point
Commits on Aug 18, 2025
GH-137623: Use an AC decorator for docstring line length enforcement (#137690)
AA-Turner
authored
918e3ba
View commit details
Copy full SHA for 918e3ba
View code at this point
Browse repository at this point
Commits on Jun 30, 2025
gh-123471: Make itertools.product and itertools.combinations thread-safe (#132814)
Show description for 847d1c2
eendebakpt
and
kumaraditya303
authored
847d1c2
View commit details
Copy full SHA for 847d1c2
View code at this point
Browse repository at this point
gh-123471: Make itertools.chain thread-safe (#135689)
eendebakpt
authored
0533c1f
View commit details
Copy full SHA for 0533c1f
View code at this point
Browse repository at this point
Commits on Jun 2, 2025
gh-123471: make concurrent iteration over `itertools.cycle` safe under free-threading (#131212)
Show description for 26a1cd4
eendebakpt
and
kumaraditya303
authored
26a1cd4
View commit details
Copy full SHA for 26a1cd4
View code at this point
Browse repository at this point
Commits on Apr 13, 2025
gh-123471: Make concurrent iteration over itertools.repeat safe under free-threading (#131247)
eendebakpt
authored
9d127e8
View commit details
Copy full SHA for 9d127e8
View code at this point
Browse repository at this point
Commits on Mar 27, 2025
gh-131525: Cache the result of tuple_hash (#131529)
Show description for 8614f86
3 people
authored
8614f86
View commit details
Copy full SHA for 8614f86
View code at this point
Browse repository at this point
Commits on Mar 12, 2025
gh-111178: Change Argument Clinic signature for `@classmethod` (#131157)
Show description for 061da44
vstinner
authored
061da44
View commit details
Copy full SHA for 061da44
View code at this point
Browse repository at this point
gh-123471: make `itertools.batched` thread-safe (#129416)
eendebakpt
authored
405a2d7
View commit details
Copy full SHA for 405a2d7
View code at this point
Browse repository at this point
Commits on Feb 19, 2025
gh-111178: fix UBSan failures in `Modules/itertoolsmodule.c` (GH-129780)
picnixz
authored
f8c041b
View commit details
Copy full SHA for f8c041b
View code at this point
Browse repository at this point
Commits on Dec 2, 2024
gh-126618: fix repr(itertools.count(sys.maxsize)) (#127048)
Show description for 930ba0c
skirpichev
and
picnixz
authored
930ba0c
View commit details
Copy full SHA for 930ba0c
View code at this point
Browse repository at this point
Commits on Nov 12, 2024
gh-126595: fix a crash when calling `itertools.count(sys.maxsize)` (#126617)
picnixz
authored
6e3bb8a
View commit details
Copy full SHA for 6e3bb8a
View code at this point
Browse repository at this point
Commits on Sep 25, 2024
gh-123884 Tee of tee was not producing n independent iterators (gh-124490)
rhettinger
authored
909c6f7
View commit details
Copy full SHA for 909c6f7
View code at this point
Browse repository at this point
Commits on May 21, 2024
gh-117657: Fix itertools.count thread safety (#119268)
Show description for 87939bd
wiggin15
authored
87939bd
View commit details
Copy full SHA for 87939bd
View code at this point
Browse repository at this point
Commits on May 9, 2024
GH-101588: Remove deprecated pickle/copy/deepcopy from itertools (gh-118816)
rhettinger
authored
e8cbcf4
View commit details
Copy full SHA for e8cbcf4
View code at this point
Browse repository at this point
Commits on May 3, 2024
gh-116322: Add Py_mod_gil module slot (#116882)
Show description for c2627d6
swtaarrs
authored
c2627d6
View commit details
Copy full SHA for c2627d6
View code at this point
Browse repository at this point
Commits on Apr 30, 2024
gh-118218: Reuse return tuple in itertools.pairwise (GH-118219)
hauntsaninja
authored
6999d68
View commit details
Copy full SHA for 6999d68
View code at this point
Browse repository at this point
Commits on Apr 12, 2024
gh-117764: Add signatures for some objects in the itertools module (GH-117774)
serhiy-storchaka
authored
49af71a
View commit details
Copy full SHA for 49af71a
View code at this point
Browse repository at this point
Commits on Mar 18, 2024
gh-115874: Don't use module state in teedataobject tp_dealloc (#116204)
Show description for e2fcaf1
erlend-aasland
and
brandtbucher
authored
e2fcaf1
View commit details
Copy full SHA for e2fcaf1
View code at this point
Browse repository at this point
Commits on Mar 4, 2024
Consistently spell out *predicate* instead of *pred*. (gh-116308)
rhettinger
authored
15dc297
View commit details
Copy full SHA for 15dc297
View code at this point
Browse repository at this point
Commits on Dec 16, 2023
gh-113202: Add a strict option to itertools.batched() (gh-113203)
rhettinger
authored
1583c40
View commit details
Copy full SHA for 1583c40
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.