Skip to content

gh-101277: Finalise isolating itertools #101305

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 24 commits into from
Feb 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
9a4b14c
gh-101277: Add repeat type to module state
erlend-aasland Jan 24, 2023
a66b888
gh-101277: Add islice type to module state
erlend-aasland Jan 24, 2023
d18169b
gh-101277: Add chain type to module state
erlend-aasland Jan 24, 2023
e574de1
gh-101277: Add tee type to module state
erlend-aasland Jan 24, 2023
053b759
gh-101277: Add tee data object type to module state
erlend-aasland Jan 24, 2023
94972ba
Add NEWS
erlend-aasland Jan 24, 2023
da57b52
Purge globals-to-fix.tsv
erlend-aasland Jan 24, 2023
e937984
Make chain and repeat immutable
erlend-aasland Jan 24, 2023
4264f8b
Add batched type to module state
erlend-aasland Jan 24, 2023
930fbe1
Use PyType_GetModuleState for types which cannot be subclassed
erlend-aasland Feb 3, 2023
d45d438
Revert unneeded changes that made the code more readable
erlend-aasland Feb 8, 2023
cf3d528
Ditto
erlend-aasland Feb 8, 2023
c4981ff
Ditto again
erlend-aasland Feb 8, 2023
1a86a5d
Store state in accumulateobject to speed up __reduce__
erlend-aasland Feb 8, 2023
b57d177
Store state in teeobject to speed up __setstate__
erlend-aasland Feb 8, 2023
d7bd16a
Remove unneeded change that made the code more readable
erlend-aasland Feb 8, 2023
d16bed1
Speed up teedataobject_jumplink() by passing state from teeobject
erlend-aasland Feb 8, 2023
68e63dd
Remove unneeded PEP-7 change
erlend-aasland Feb 8, 2023
9f68cd1
Fix tee_copy
erlend-aasland Feb 9, 2023
ef2d52f
Sync with main
erlend-aasland Feb 9, 2023
a9c6ce5
Visit and clear teedataobject_type
erlend-aasland Feb 9, 2023
8f554f4
Add clear methods to all types
erlend-aasland Feb 9, 2023
1351172
Sync with main
erlend-aasland Feb 10, 2023
5213d1f
Revert "Add clear methods to all types"
erlend-aasland Feb 10, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Remove global state from :mod:`itertools` module (:pep:`687`). Patches by
Erlend E. Aasland.
6 changes: 3 additions & 3 deletions Modules/clinic/itertoolsmodule.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading