| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:fb47bd55-ac70-8e55-d7d9-021019b85e2e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BFFC:1B7E6F:2085DDD:2CA45A5:696AB78D |
| html-safe-nonce | 479cef1ec44e7cf6038ac3d73e4c6b1f161cf458ad322fb13d65f3c26e453ef7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkZDOjFCN0U2RjoyMDg1REREOjJDQTQ1QTU6Njk2QUI3OEQiLCJ2aXNpdG9yX2lkIjoiNDc1MDg0NzY0MDgzODI4NjIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e2271196a3f781a1b6b58c06324ddf14831b5c241f9d3e301aa62ac72e1b14fa |
| hovercard-subject-tag | pull_request:2574043940 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/135225/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/a387c289ed2e6ef7e8769b183619de2b90cf6b5fbf84c5b3837fd860dca1b9d3/python/cpython/pull/135225 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a387c289ed2e6ef7e8769b183619de2b90cf6b5fbf84c5b3837fd860dca1b9d3/python/cpython/pull/135225 |
| og:image:alt | This PR adds a NULL check for tp_iternext to FOR_ITER to prevent the crash in #125038.
It then moves GET_ITER back to generation expression creation, thus fixing #135171 and avoids re-introducing #... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | markshannon |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 41f276818bd204c4a30a0281fb3c576298d9474c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/135225#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F135225 |
| 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%2F135225 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/135225 |
| Reload | https://github.com/python/cpython/pull/135225 |
| Reload | https://github.com/python/cpython/pull/135225 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/135225 |
|
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/135225 |
|
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 |
| Jump to bottom | https://github.com/python/cpython/pull/135225#issue-comment-box |
| markshannon | https://github.com/markshannon |
| python:3.14 | https://github.com/python/cpython/tree/3.14 |
| faster-cpython:fix-gen-expr-yet-again | https://github.com/faster-cpython/cpython/tree/fix-gen-expr-yet-again |
|
[3.14] GH-135171: Fix generator expressions one last time (hopefully)
| https://github.com/python/cpython/pull/135225#top |
| markshannon | https://github.com/markshannon |
| python:3.14 | https://github.com/python/cpython/tree/3.14 |
| faster-cpython:fix-gen-expr-yet-again | https://github.com/faster-cpython/cpython/tree/fix-gen-expr-yet-again |
|
Conversation
8
| https://github.com/python/cpython/pull/135225 |
|
Commits
6
| https://github.com/python/cpython/pull/135225/commits |
|
Checks
63
| https://github.com/python/cpython/pull/135225/checks |
|
Files changed
| https://github.com/python/cpython/pull/135225/files |
| Please reload this page | https://github.com/python/cpython/pull/135225 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
| Jun 6, 2025 | https://github.com/python/cpython/pull/135225#issue-3125400282 |
| Please reload this page | https://github.com/python/cpython/pull/135225 |
| #125038 | https://github.com/python/cpython/issues/125038 |
| #135171 | https://github.com/python/cpython/issues/135171 |
| #127682 | https://github.com/python/cpython/issues/127682 |
| @hugovk | https://github.com/hugovk |
| @Yhg1s | https://github.com/Yhg1s |
| Generator expression behavior changed in 3.13.4 - it does not throw exception anymore #135171 | https://github.com/python/cpython/issues/135171 |
| Please reload this page | https://github.com/python/cpython/pull/135225 |
| markshannon | https://github.com/markshannon |
| June 6, 2025 16:26 | https://github.com/python/cpython/pull/135225#commits-pushed-c011b5b |
|
| https://github.com/markshannon |
| Add NULL check to FOR_ITER | https://github.com/python/cpython/pull/135225/commits/c011b5b47370481e789fd170c8763e412783e052 |
| c011b5b | https://github.com/python/cpython/pull/135225/commits/c011b5b47370481e789fd170c8763e412783e052 |
|
| https://github.com/markshannon |
| Move GET_ITER back to genexpr creation | https://github.com/python/cpython/pull/135225/commits/225e36abcd87214c8114ce3d348363612514ffd7 |
| 225e36a | https://github.com/python/cpython/pull/135225/commits/225e36abcd87214c8114ce3d348363612514ffd7 |
|
| https://github.com/markshannon |
| Fix up test generators to handle different behavior of gen exprs and … | https://github.com/python/cpython/pull/135225/commits/4bdd75e6ab1b881587757f1639e44460d43219e1 |
| 4bdd75e | https://github.com/python/cpython/pull/135225/commits/4bdd75e6ab1b881587757f1639e44460d43219e1 |
|
| https://github.com/markshannon |
| Fix up test_dis | https://github.com/python/cpython/pull/135225/commits/fe8ca4b87a819c129552cc580de497707c5385de |
| fe8ca4b | https://github.com/python/cpython/pull/135225/commits/fe8ca4b87a819c129552cc580de497707c5385de |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
| iritkatriel | https://github.com/iritkatriel |
| code owner | https://github.com/python/cpython/blob/88b5784fc0362e147e1ac6eaca0584acce5228b9/.github/CODEOWNERS#L40 |
| June 6, 2025 17:20 | https://github.com/python/cpython/pull/135225#event-18026282355 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Jun 6, 2025 | https://github.com/python/cpython/pull/135225#event-18026282926 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Jun 6, 2025
| https://github.com/python/cpython/pull/135225#ref-issue-3120633848 |
|
Generator expression behavior changed in 3.13.4 - it does not throw exception anymore
#135171
| https://github.com/python/cpython/issues/135171 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
|
needs backport to 3.13
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22 |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Jun 6, 2025 | https://github.com/python/cpython/pull/135225#event-18026284375 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Jun 6, 2025 | https://github.com/python/cpython/pull/135225#issuecomment-2949990900 |
| Please reload this page | https://github.com/python/cpython/pull/135225 |
|
| https://github.com/markshannon |
| Add news | https://github.com/python/cpython/pull/135225/commits/a96a192bd8263b6c159bd26dadbd7a9afb0479f3 |
| a96a192 | https://github.com/python/cpython/pull/135225/commits/a96a192bd8263b6c159bd26dadbd7a9afb0479f3 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
| Jun 6, 2025 | https://github.com/python/cpython/pull/135225#issuecomment-2950028653 |
| Please reload this page | https://github.com/python/cpython/pull/135225 |
|
| https://github.com/markshannon |
| Add back genexpr test | https://github.com/python/cpython/pull/135225/commits/0d47bea07f23fbb91c01d119aa2745c6460a2584 |
| 0d47bea | https://github.com/python/cpython/pull/135225/commits/0d47bea07f23fbb91c01d119aa2745c6460a2584 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Jun 7, 2025 | https://github.com/python/cpython/pull/135225#issuecomment-2951772836 |
| Please reload this page | https://github.com/python/cpython/pull/135225 |
| https://github.com/efimov-mikhail |
| efimov-mikhail | https://github.com/efimov-mikhail |
|
Jun 7, 2025
| https://github.com/python/cpython/pull/135225#pullrequestreview-2907891298 |
|
View reviewed changes
| https://github.com/python/cpython/pull/135225/files/0d47bea07f23fbb91c01d119aa2745c6460a2584 |
| efimov-mikhail | https://github.com/efimov-mikhail |
| https://github.com/python/cpython/pull/135225#pullrequestreview-2907891298 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/135225 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Jun 7, 2025 | https://github.com/python/cpython/pull/135225#event-18040046252 |
| https://github.com/Roman513 |
| Roman513 | https://github.com/Roman513 |
|
Jun 8, 2025
| https://github.com/python/cpython/pull/135225#ref-issue-2754335362 |
|
Defining iterator in a separate class no longer works in 3.13
#128161
| https://github.com/python/cpython/issues/128161 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
| a5274cd | https://github.com/python/cpython/commit/a5274cd2158a0c7eaa6f54b4e74f8b4e92195e5e |
| Jun 9, 2025 | https://github.com/python/cpython/pull/135225#event-18052818649 |
| Please reload this page | https://github.com/python/cpython/pull/135225 |
| https://github.com/apps/miss-islington-app |
| miss-islington-app | https://github.com/apps/miss-islington-app |
| Jun 9, 2025 | https://github.com/python/cpython/pull/135225#issuecomment-2955313107 |
| @markshannon | https://github.com/markshannon |
| Please reload this page | https://github.com/python/cpython/pull/135225 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Jun 9, 2025 | https://github.com/python/cpython/pull/135225#event-18052819292 |
| https://github.com/apps/miss-islington-app |
| miss-islington-app | https://github.com/apps/miss-islington-app |
| Jun 9, 2025 | https://github.com/python/cpython/pull/135225#issuecomment-2955313263 |
| @markshannon | https://github.com/markshannon |
| cherry_picker | https://pypi.org/project/cherry-picker/ |
| Please reload this page | https://github.com/python/cpython/pull/135225 |
| https://github.com/apps/miss-islington-app |
| miss-islington-app | https://github.com/apps/miss-islington-app |
| markshannon | https://github.com/markshannon |
| Jun 9, 2025 | https://github.com/python/cpython/pull/135225#event-18052820315 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| Jun 9, 2025 | https://github.com/python/cpython/pull/135225#issuecomment-2957085038 |
| GH-135293 | https://github.com/python/cpython/pull/135293 |
| 3.13 branch | https://github.com/python/cpython/tree/3.13 |
| Please reload this page | https://github.com/python/cpython/pull/135225 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
needs backport to 3.13
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22 |
| Jun 9, 2025 | https://github.com/python/cpython/pull/135225#event-18063166011 |
| https://github.com/efimov-mikhail |
| efimov-mikhail | https://github.com/efimov-mikhail |
|
Jun 10, 2025
| https://github.com/python/cpython/pull/135225#ref-pullrequest-3133871284 |
|
[3.14] GH-135171: Revert async generator expressions behavior
#135352
| https://github.com/python/cpython/pull/135352 |
| Yhg1s | https://github.com/Yhg1s |
|
Jun 11, 2025
| https://github.com/python/cpython/pull/135225#ref-commit-32d1d4a |
|
| https://github.com/Yhg1s |
| Reapply tests and the crash fix added in | https://github.com/Yhg1s/cpython/commit/32d1d4a6124921c7a2a0676155b2663093427612 |
| pythongh-135225 | https://github.com/python/cpython/pull/135225 |
| and rolled b… | https://github.com/Yhg1s/cpython/commit/32d1d4a6124921c7a2a0676155b2663093427612 |
| 32d1d4a | https://github.com/Yhg1s/cpython/commit/32d1d4a6124921c7a2a0676155b2663093427612 |
| https://github.com/efimov-mikhail |
| efimov-mikhail | https://github.com/efimov-mikhail |
|
Jun 11, 2025
| https://github.com/python/cpython/pull/135225#ref-pullrequest-3137549575 |
|
[3.13] GH-135171: Roll back fix for GH-125038 as it's not suitable for 3.13
#135403
| https://github.com/python/cpython/pull/135403 |
| https://github.com/ThadCash187 |
| ThadCash187 | https://github.com/ThadCash187 |
|
Jul 15, 2025
| https://github.com/python/cpython/pull/135225#pullrequestreview-3018655455 |
|
View reviewed changes
| https://github.com/python/cpython/pull/135225/files/0d47bea07f23fbb91c01d119aa2745c6460a2584 |
| Lib/test/test_dis.py | https://github.com/python/cpython/pull/135225/files/0d47bea07f23fbb91c01d119aa2745c6460a2584#diff-fd7b118a01a9695dfa16eea9381d3c7b0652e1b7b55f51ff052a1f620d175642 |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F135225 |
| Please reload this page | https://github.com/python/cpython/pull/135225 |
| https://github.com/AA-Turner |
| AA-Turner | https://github.com/AA-Turner |
|
Aug 11, 2025
| https://github.com/python/cpython/pull/135225#ref-issue-3305426083 |
|
Stack overflow error from recursion with 3.14.0rc1 on MacOS
#137573
| https://github.com/python/cpython/issues/137573 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F135225 |
|
| https://github.com/efimov-mikhail |
|
efimov-mikhail
| https://github.com/efimov-mikhail |
|
| https://github.com/python/cpython/pull/135225/files/0d47bea07f23fbb91c01d119aa2745c6460a2584 |
|
| https://github.com/iritkatriel |
|
iritkatriel
| https://github.com/iritkatriel |
|
| https://github.com/ThadCash187 |
|
ThadCash187
| https://github.com/ThadCash187 |
|
| https://github.com/python/cpython/pull/135225/files/0d47bea07f23fbb91c01d119aa2745c6460a2584 |
|
| https://github.com/markshannon |
|
markshannon
| https://github.com/markshannon |
| Please reload this page | https://github.com/python/cpython/pull/135225 |
|
| https://github.com/markshannon |
|
| https://github.com/serhiy-storchaka |
|
| https://github.com/efimov-mikhail |
|
| https://github.com/ThadCash187 |
|
| 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 |