Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
pythoncapi
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Modules
itertoolsmodule.c
on
3.4
User selector
All users
Datepicker
All time
Commit history
Commits on Jan 1, 2016
merge 3.3
benjaminp
committed
630329e
View commit details
Copy full SHA for 630329e
View code at this point
Browse repository at this point
remove some copyright notices supserseded by the toplevel ones
benjaminp
committed
0e617e2
View commit details
Copy full SHA for 0e617e2
View code at this point
Browse repository at this point
Commits on Nov 2, 2015
Issue #25523: Further a-to-an corrections.
serhiy-storchaka
committed
d65c949
View commit details
Copy full SHA for d65c949
View code at this point
Browse repository at this point
Commits on Sep 12, 2015
Issue #25021: Merge from 3.3 to 3.4
kristjanvalur
committed
95c3e6c
View commit details
Copy full SHA for 95c3e6c
View code at this point
Browse repository at this point
Issue #25021: Correctly make sure that product.__setstate__ does not access
Show description for 102764a
kristjanvalur
committed
102764a
View commit details
Copy full SHA for 102764a
View code at this point
Browse repository at this point
Commits on Jul 28, 2015
Issue #24735: Fix invalid memory access in combinations_with_replacement()
rhettinger
committed
acd61b6
View commit details
Copy full SHA for acd61b6
View code at this point
Browse repository at this point
Commits on Jun 10, 2015
Fixed indentation of Python examples in C comments.
serhiy-storchaka
committed
d741a88
View commit details
Copy full SHA for d741a88
View code at this point
Browse repository at this point
Commits on Feb 2, 2015
Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.
Show description for dee948b
serhiy-storchaka
committed
dee948b
View commit details
Copy full SHA for dee948b
View code at this point
Browse repository at this point
check for overflows in permutations() and product() (closes #23363, closes #23364)
benjaminp
committed
0eaabf1
View commit details
Copy full SHA for 0eaabf1
View code at this point
Browse repository at this point
check for overflow in combinations_with_replacement (closes #23365)
benjaminp
committed
6f08229
View commit details
Copy full SHA for 6f08229
View code at this point
Browse repository at this point
detect overflow in combinations (closes #23366)
benjaminp
committed
4b40eeb
View commit details
Copy full SHA for 4b40eeb
View code at this point
Browse repository at this point
Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.
Show description for b5e8e57
serhiy-storchaka
committed
b5e8e57
View commit details
Copy full SHA for b5e8e57
View code at this point
Browse repository at this point
merge 3.3 (#23364, #23363)
benjaminp
committed
c468b53
View commit details
Copy full SHA for c468b53
View code at this point
Browse repository at this point
merge 3.3 (#23365)
benjaminp
committed
f635dc3
View commit details
Copy full SHA for f635dc3
View code at this point
Browse repository at this point
merge 3.3 (#23366)
benjaminp
committed
819c4e9
View commit details
Copy full SHA for 819c4e9
View code at this point
Browse repository at this point
Commits on Jun 25, 2014
Issue #19145: Fix handling of negative values for a "times" keyword argument to itertools.repeat()>
Show description for 97d3555
rhettinger
committed
97d3555
View commit details
Copy full SHA for 97d3555
View code at this point
Browse repository at this point
Commits on Apr 29, 2014
Issue #21321: itertools.islice() now releases the reference to the source iterator when the slice is exhausted.
Show description for 26f82ef
pitrou
committed
26f82ef
View commit details
Copy full SHA for 26f82ef
View code at this point
Browse repository at this point
Commits on Dec 9, 2013
Issue #15475: Add __sizeof__ implementations for itertools objects.
serhiy-storchaka
committed
2dae92a
View commit details
Copy full SHA for 2dae92a
View code at this point
Browse repository at this point
Commits on Sep 20, 2013
Add a comment making it explicit that itertools.tee() is already 64bit-safe (issue #19049)
pitrou
committed
b4a46cb
View commit details
Copy full SHA for b4a46cb
View code at this point
Browse repository at this point
Commits on Sep 9, 2013
Issue 18752: Make chain.from_iterable() more visible in the documentation.
rhettinger
committed
fb92f39
View commit details
Copy full SHA for fb92f39
View code at this point
Browse repository at this point
Issue 18752: Make chain.from_iterable() more visible in the documentation.
rhettinger
committed
8df58f7
View commit details
Copy full SHA for 8df58f7
View code at this point
Browse repository at this point
Commits on Sep 3, 2013
cwr_next(): move invariants out of loops.
Show description for 9edb168
Tim Peters
committed
9edb168
View commit details
Copy full SHA for 9edb168
View code at this point
Browse repository at this point
Issue #18912: Fix indentation in docstring
Show description for c554f72
eliben
committed
c554f72
View commit details
Copy full SHA for c554f72
View code at this point
Browse repository at this point
Commits on Jun 22, 2013
Closes #18220: expand itertools.islice docstring to 2 lines
akuchling
committed
da30acf
View commit details
Copy full SHA for da30acf
View code at this point
Browse repository at this point
Close #18285: add 'repeat' parameter to docstring for product
akuchling
committed
446a39f
View commit details
Copy full SHA for 446a39f
View code at this point
Browse repository at this point
Commits on Jun 21, 2013
Closes #18239: correct description of count() in module docstring
akuchling
committed
b003ffa
View commit details
Copy full SHA for b003ffa
View code at this point
Browse repository at this point
Commits on Apr 6, 2013
Revert a premature patch for issue #14010 (changeset aaaf36026511).
serhiy-storchaka
committed
278d03b
View commit details
Copy full SHA for 278d03b
View code at this point
Browse repository at this point
Issue #14010: Fix a crash when iterating or deleting deeply nested filters
Show description for e8f706e
serhiy-storchaka
committed
e8f706e
View commit details
Copy full SHA for e8f706e
View code at this point
Browse repository at this point
Commits on Jan 25, 2013
Clean trailing whitespace in itertoolsmodule.c.
serhiy-storchaka
committed
d269b5e
View commit details
Copy full SHA for d269b5e
View code at this point
Browse repository at this point
Clean trailing whitespace in itertoolsmodule.c.
serhiy-storchaka
committed
e7e9c32
View commit details
Copy full SHA for e7e9c32
View code at this point
Browse repository at this point
Issue #13454: Fix a crash when deleting an iterator created by itertools.tee()
Show description for 339e91d
serhiy-storchaka
committed
339e91d
View commit details
Copy full SHA for 339e91d
View code at this point
Browse repository at this point
Issue #13454: Fix a crash when deleting an iterator created by itertools.tee()
Show description for a3e9128
serhiy-storchaka
committed
a3e9128
View commit details
Copy full SHA for a3e9128
View code at this point
Browse repository at this point
Commits on Aug 15, 2012
Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly.
Show description for 721738f
pitrou
committed
721738f
View commit details
Copy full SHA for 721738f
View code at this point
Browse repository at this point
Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly.
Show description for 6f430e4
pitrou
committed
6f430e4
View commit details
Copy full SHA for 6f430e4
View code at this point
Browse repository at this point
Commits on May 15, 2012
Add safecase to silence Win64 warning.
loewis
committed
33cac85
View commit details
Copy full SHA for 33cac85
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.