| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:458be650-4931-8297-dd30-f0859441282d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D4B0:28C591:474C60:649773:696A0C35 |
| html-safe-nonce | 5bf142059ce7b59055e8b61d017bc33798185fcba893d5531b4e76dac390d0b0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEIwOjI4QzU5MTo0NzRDNjA6NjQ5NzczOjY5NkEwQzM1IiwidmlzaXRvcl9pZCI6IjE0NjUyNTgwNTIxOTU4NDcyMjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4cd2f3eeb51cbbc37a8902730e4aef46e9e0887e5e1be59c80ad6bdd21d5879f |
| hovercard-subject-tag | pull_request:1215851752 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/101302/files |
| twitter:image | https://avatars.githubusercontent.com/u/13780613?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/13780613?s=400&v=4 |
| og:image:alt | Part 1/4
Issue: gh-101277 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7266b2d935baa1c6474b16dd9feaa5ca30607261 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/101302/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F101302%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F101302%2Ffiles |
|
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/101302/files |
| Reload | https://github.com/python/cpython/pull/101302/files |
| Reload | https://github.com/python/cpython/pull/101302/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/101302/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| 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.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/101302/files |
|
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
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| erlend-aasland | https://github.com/erlend-aasland |
| python:main | https://github.com/python/cpython/tree/main |
| erlend-aasland:isolate-itertools/batch-1 | https://github.com/erlend-aasland/cpython/tree/isolate-itertools/batch-1 |
|
Conversation
27
| https://github.com/python/cpython/pull/101302 |
|
Commits
14
| https://github.com/python/cpython/pull/101302/commits |
|
Checks
0
| https://github.com/python/cpython/pull/101302/checks |
|
Files changed
| https://github.com/python/cpython/pull/101302/files |
| Please reload this page | https://github.com/python/cpython/pull/101302/files |
|
gh-101277: Isolate itertools, add group and _grouper types to module state
| https://github.com/python/cpython/pull/101302/files#top |
|
Show all changes
14 commits
| https://github.com/python/cpython/pull/101302/files |
|
3ab0289
Add immutable types tests
erlend-aasland Jan 24, 2023
| https://github.com/python/cpython/pull/101302/commits/3ab0289a171dc77b9cc3ead2a2d9db8f2d6ed6ed |
|
99406f8
gh-101277: establish global state
erlend-aasland Jan 24, 2023
| https://github.com/python/cpython/pull/101302/commits/99406f89edbb81a1a32ae8678960cb0ab0699aab |
|
50410bf
gh-101277: Add groupby and _grouper types to module state
erlend-aasland Jan 24, 2023
| https://github.com/python/cpython/pull/101302/commits/50410bf33091ec9731c6ad664c3f921dafa1c5bc |
|
6dc2032
Merge branch 'main' into isolate-itertools/batch-1
erlend-aasland Jan 25, 2023
| https://github.com/python/cpython/pull/101302/commits/6dc2032ee3ad9ef471d98dc0a915a47e313b670b |
|
2cfe214
Sync with main
erlend-aasland Jan 29, 2023
| https://github.com/python/cpython/pull/101302/commits/2cfe2149c4f44c81a7792bb9fffcd131bfcefef1 |
|
f1e877b
Store state in groupbyobject
erlend-aasland Jan 29, 2023
| https://github.com/python/cpython/pull/101302/commits/f1e877b0354ca62320b08dd2309acb219fc97abb |
|
a0f9b42
In _grouper_create, fetch state from groupbyobject->state
erlend-aasland Jan 29, 2023
| https://github.com/python/cpython/pull/101302/commits/a0f9b424cc14bea289b43522a3f0739b7ba7ede5 |
|
51b3c6e
Removed now unused variable
erlend-aasland Jan 29, 2023
| https://github.com/python/cpython/pull/101302/commits/51b3c6e1e91525447fa1f7517f75a8d83e7b2537 |
|
7aea9f6
Update Modules/itertoolsmodule.c
erlend-aasland Jan 31, 2023
| https://github.com/python/cpython/pull/101302/commits/7aea9f629b7094503e517b1611b5e9ef3b4b3e85 |
|
10cb0bc
Include pycore_moduleobject.h bco. _PyModule_GetState()
erlend-aasland Jan 31, 2023
| https://github.com/python/cpython/pull/101302/commits/10cb0bcceb52a5eb7317e220ca557b16a6694380 |
|
a64e69c
Make sure the include is inserted in alphabetical order
erlend-aasland Jan 31, 2023
| https://github.com/python/cpython/pull/101302/commits/a64e69c1f626050a9a9f393e3992fbe77dc983c6 |
|
4783565
Update Modules/itertoolsmodule.c
erlend-aasland Jan 31, 2023
| https://github.com/python/cpython/pull/101302/commits/47835658b3a9bc5d9c1a27664d4cdcafd863afe2 |
|
cea6d40
Sync with main
erlend-aasland Jan 31, 2023
| https://github.com/python/cpython/pull/101302/commits/cea6d4027a318daa46e22a4bdbe3301a76f4463d |
|
8a3b6df
Add get-state-by-cls helper and use it for subclass check
erlend-aasland Jan 31, 2023
| https://github.com/python/cpython/pull/101302/commits/8a3b6dfb7242f7d74c30dffd0c267354084b2196 |
|
Clear filters
| https://github.com/python/cpython/pull/101302/files |
| Please reload this page | https://github.com/python/cpython/pull/101302/files |
| Please reload this page | https://github.com/python/cpython/pull/101302/files |
|
test_itertools.py
| https://github.com/python/cpython/pull/101302/files#diff-9abbaeca99112e9e04b554726bff97b76030eb982f39e591be77be8ef14149e5 |
|
itertoolsmodule.c.h
| https://github.com/python/cpython/pull/101302/files#diff-1628d1649ee211a1608915194dc2bdb99f3c8db7e7e652445febe496a5b52184 |
|
itertoolsmodule.c
| https://github.com/python/cpython/pull/101302/files#diff-dc27cbdf2b9f6e5236cade13cf301d352a7abd2a8b1988f2517d6f5b7a30c201 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L509 |
| Lib/test/test_itertools.py | https://github.com/python/cpython/pull/101302/files#diff-9abbaeca99112e9e04b554726bff97b76030eb982f39e591be77be8ef14149e5 |
|
View file
| https://github.com/erlend-aasland/cpython/blob/8a3b6dfb7242f7d74c30dffd0c267354084b2196/Lib/test/test_itertools.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/101302/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/101302/files#diff-9abbaeca99112e9e04b554726bff97b76030eb982f39e591be77be8ef14149e5 |
|
| https://github.com/python/cpython/pull/101302/files#diff-9abbaeca99112e9e04b554726bff97b76030eb982f39e591be77be8ef14149e5 |
| Modules/clinic/itertoolsmodule.c.h | https://github.com/python/cpython/pull/101302/files#diff-1628d1649ee211a1608915194dc2bdb99f3c8db7e7e652445febe496a5b52184 |
|
View file
| https://github.com/erlend-aasland/cpython/blob/8a3b6dfb7242f7d74c30dffd0c267354084b2196/Modules/clinic/itertoolsmodule.c.h |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/python/cpython/pull/101302/files |
| Please reload this page | https://github.com/python/cpython/pull/101302/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |