| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f8c6ddd9-26ed-fcd8-e052-99de9c011941 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9F50:2DE4E0:11A75DA:1739E4D:696B734E |
| html-safe-nonce | a646c1aeafd302ac399d3d0d238cdb3cb36d8541a2a7d4a7a68c1af15a7e01f9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjUwOjJERTRFMDoxMUE3NURBOjE3MzlFNEQ6Njk2QjczNEUiLCJ2aXNpdG9yX2lkIjoiMTQwNjczNTMzMDMzMTgxNjc4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 133d8f08e8147a09bbe4cfa9ba3e987b830ec7185b1c4c9b173ad70c40d6f251 |
| hovercard-subject-tag | pull_request:1054886052 |
| 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/96801/files |
| twitter:image | https://avatars.githubusercontent.com/u/9448417?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/9448417?s=400&v=4 |
| og:image:alt | Requires an additional POP_TOP at the end of the loop. By itself, this would be a pointless change, but as part of #96793 it makes sense.
Pyperformance shows a 1% slowdown but I suspect that is a b... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/96801/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F96801%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%2F96801%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/96801/files |
| Reload | https://github.com/python/cpython/pull/96801/files |
| Reload | https://github.com/python/cpython/pull/96801/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/96801/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/96801/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 |
| markshannon | https://github.com/markshannon |
| python:main | https://github.com/python/cpython/tree/main |
| faster-cpython:for-iter-no-pop | https://github.com/faster-cpython/cpython/tree/for-iter-no-pop |
|
Conversation
11
| https://github.com/python/cpython/pull/96801 |
|
Commits
12
| https://github.com/python/cpython/pull/96801/commits |
|
Checks
0
| https://github.com/python/cpython/pull/96801/checks |
|
Files changed
| https://github.com/python/cpython/pull/96801/files |
| Please reload this page | https://github.com/python/cpython/pull/96801/files |
|
GH-96793: Change FOR_ITER to not pop the iterator on exhaustion.
| https://github.com/python/cpython/pull/96801/files#top |
|
Show all changes
12 commits
| https://github.com/python/cpython/pull/96801/files |
|
bf44755
Modify FOR_ITER to leave iterator on stack. Work in progress.
markshannon Sep 8, 2022
| https://github.com/python/cpython/pull/96801/commits/bf44755c347d81ea5725fabe8223ec08392c6a39 |
|
5bdef2b
Document change to FOR_ITER.
markshannon Sep 9, 2022
| https://github.com/python/cpython/pull/96801/commits/5bdef2b6189917632cc2c3be1f78341a4090f980 |
|
5250ffc
Merge branch 'main' into for-iter-no-pop
markshannon Sep 13, 2022
| https://github.com/python/cpython/pull/96801/commits/5250ffc3ff9ffd32526e639d93af49d44683af39 |
|
b807ef8
Add news.
markshannon Sep 13, 2022
| https://github.com/python/cpython/pull/96801/commits/b807ef85bf4c399cad3c453555b322b0d1977d56 |
|
d5dd9b4
Skip over POP_TOP at end of loop in specialized versions of FOR_ITER.
markshannon Oct 21, 2022
| https://github.com/python/cpython/pull/96801/commits/d5dd9b40545faeb6aa6e7510d68e771655d77320 |
|
c9ff8b7
Merge branch 'main' into for-iter-no-pop
markshannon Oct 25, 2022
| https://github.com/python/cpython/pull/96801/commits/c9ff8b7b043e07a830710b014db4d21d0bf957bc |
|
c5e9d2c
Fix up new POP_TOPs to have no location.
markshannon Oct 25, 2022
| https://github.com/python/cpython/pull/96801/commits/c5e9d2ce0baa69dbf769ef5cc2eed2d88e17614d |
|
687833a
Merge branch 'main' into for-iter-no-pop
markshannon Oct 26, 2022
| https://github.com/python/cpython/pull/96801/commits/687833ac5e6f7931a5e6868f7a575865736e0fac |
|
a575fc8
Add END_FOR instruction
markshannon Oct 26, 2022
| https://github.com/python/cpython/pull/96801/commits/a575fc8121f6ca4e371fb2f256aba97ef97e57fb |
|
63bd124
Fix up specialization of FOR_ITER
markshannon Oct 26, 2022
| https://github.com/python/cpython/pull/96801/commits/63bd12463981df34f579ef8b33cfc3deab4e0e7a |
|
611685f
Fix tests
markshannon Oct 26, 2022
| https://github.com/python/cpython/pull/96801/commits/611685fd54a25fd4d222bef500289ae8e9553e03 |
|
b6086b6
Add END_FOR to docs.
markshannon Oct 26, 2022
| https://github.com/python/cpython/pull/96801/commits/b6086b6fc0930191d52047560be77a220c4c2339 |
|
Clear filters
| https://github.com/python/cpython/pull/96801/files |
| Please reload this page | https://github.com/python/cpython/pull/96801/files |
| Please reload this page | https://github.com/python/cpython/pull/96801/files |
|
dis.rst
| https://github.com/python/cpython/pull/96801/files#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653b |
|
pycore_opcode.h
| https://github.com/python/cpython/pull/96801/files#diff-7b986d4fccffcb2f2af4ec495559b2f0dc2e393e38f95e8ca3ef48e559177530 |
|
opcode.h
| https://github.com/python/cpython/pull/96801/files#diff-1cd1f0bb26c3fbaa279f83ee2bfe1d9072da7af07407111c79039c66034c57ed |
|
_bootstrap_external.py
| https://github.com/python/cpython/pull/96801/files#diff-efefe383b3a81d16150c280db0b64eed7569254299418f64cc0d749f8e16f3a4 |
|
opcode.py
| https://github.com/python/cpython/pull/96801/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb |
|
test__opcode.py
| https://github.com/python/cpython/pull/96801/files#diff-ae73a75dc8c7af5ba9622b7222e7932d84851d64b5732b782f8525c157bfe12e |
|
test_dis.py
| https://github.com/python/cpython/pull/96801/files#diff-fd7b118a01a9695dfa16eea9381d3c7b0652e1b7b55f51ff052a1f620d175642 |
|
2022-09-13-14-07-06.gh-issue-96793.7DLRSm.rst
| https://github.com/python/cpython/pull/96801/files#diff-fa5188baafd202182825c404bc704e90e5d829af1b9cf0432cb31616a481b1f8 |
|
frameobject.c
| https://github.com/python/cpython/pull/96801/files#diff-7b8cef249e5cca077d30de4e428a6bde6b9b803464e790e9cffa7e052e19efdd |
|
test_frozenmain.h
| https://github.com/python/cpython/pull/96801/files#diff-dcbbf153f77c69fb3a08746516bb9baaf46b9465c941221d1d495123e92cc862 |
|
ceval.c
| https://github.com/python/cpython/pull/96801/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
|
compile.c
| https://github.com/python/cpython/pull/96801/files#diff-ebc983d9f91e5bcf73500e377ac65e85863c4f77fd5b6b6caf4fcdf7c0f0b057 |
|
opcode_targets.h
| https://github.com/python/cpython/pull/96801/files#diff-d3363a4083b77b9157d0bf07c2e87f3d3464a8b4360d5d23b07bbb23061f007a |
|
specialize.c
| https://github.com/python/cpython/pull/96801/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2 |
| Doc/library/dis.rst | https://github.com/python/cpython/pull/96801/files#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653b |
|
View file
| https://github.com/faster-cpython/cpython/blob/b6086b6fc0930191d52047560be77a220c4c2339/Doc/library/dis.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/96801/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/96801/files#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653b |
|
| https://github.com/python/cpython/pull/96801/files#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653b |
|
| https://github.com/python/cpython/pull/96801/files#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653b |
|
| https://github.com/python/cpython/pull/96801/files#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653b |
| Include/internal/pycore_opcode.h | https://github.com/python/cpython/pull/96801/files#diff-7b986d4fccffcb2f2af4ec495559b2f0dc2e393e38f95e8ca3ef48e559177530 |
|
View file
| https://github.com/faster-cpython/cpython/blob/b6086b6fc0930191d52047560be77a220c4c2339/Include/internal/pycore_opcode.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/96801/files |
| Include/opcode.h | https://github.com/python/cpython/pull/96801/files#diff-1cd1f0bb26c3fbaa279f83ee2bfe1d9072da7af07407111c79039c66034c57ed |
|
View file
| https://github.com/faster-cpython/cpython/blob/b6086b6fc0930191d52047560be77a220c4c2339/Include/opcode.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/96801/files |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L260 |
| Lib/importlib/_bootstrap_external.py | https://github.com/python/cpython/pull/96801/files#diff-efefe383b3a81d16150c280db0b64eed7569254299418f64cc0d749f8e16f3a4 |
|
View file
| https://github.com/faster-cpython/cpython/blob/b6086b6fc0930191d52047560be77a220c4c2339/Lib/importlib/_bootstrap_external.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/96801/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/96801/files#diff-efefe383b3a81d16150c280db0b64eed7569254299418f64cc0d749f8e16f3a4 |
|
| https://github.com/python/cpython/pull/96801/files#diff-efefe383b3a81d16150c280db0b64eed7569254299418f64cc0d749f8e16f3a4 |
|
| https://github.com/python/cpython/pull/96801/files#diff-efefe383b3a81d16150c280db0b64eed7569254299418f64cc0d749f8e16f3a4 |
| Lib/opcode.py | https://github.com/python/cpython/pull/96801/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb |
|
View file
| https://github.com/faster-cpython/cpython/blob/b6086b6fc0930191d52047560be77a220c4c2339/Lib/opcode.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/96801/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/96801/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb |
|
| https://github.com/python/cpython/pull/96801/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb |
| Please reload this page | https://github.com/python/cpython/pull/96801/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 |