| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f064ce18-afee-8784-43b5-b376a3539692 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B8EE:290BB0:128E26:19E9DE:696A3A07 |
| html-safe-nonce | 74894a1761637e7193ff2b6c69e33141affc5da55dda3fea0b95947833707d01 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEVFOjI5MEJCMDoxMjhFMjY6MTlFOURFOjY5NkEzQTA3IiwidmlzaXRvcl9pZCI6IjIyMzUzNDY5MjUzMTkyNDAxOTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 91b7809924063f8016b7b4ed9a8ebe1b5b68b3ce44a4b67cde80b9aef3ecd0fc |
| hovercard-subject-tag | pull_request:981129772 |
| 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/94371/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 | Since 3.11 we have moved some low level operations to the bytecode which mean that frames can be in a partially constructed state during GC, or other operations that could expose them to Python cod... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 321736bfdb3f591415ae895a0459bec204b26a76caf47ba5c980634cfacc4538 |
| 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 | 7a9163cefd1ea4bd06f8eb7c082f43e4e53f626f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/94371/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F94371%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%2F94371%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/94371/files |
| Reload | https://github.com/python/cpython/pull/94371/files |
| Reload | https://github.com/python/cpython/pull/94371/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/94371/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/94371/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:no-frame-object-too-early | https://github.com/faster-cpython/cpython/tree/no-frame-object-too-early |
|
Conversation
20
| https://github.com/python/cpython/pull/94371 |
|
Commits
11
| https://github.com/python/cpython/pull/94371/commits |
|
Checks
0
| https://github.com/python/cpython/pull/94371/checks |
|
Files changed
| https://github.com/python/cpython/pull/94371/files |
| Please reload this page | https://github.com/python/cpython/pull/94371/files |
|
GH-94262: Don't create frame objects for frames that aren't complete.
| https://github.com/python/cpython/pull/94371/files#top |
|
Show all changes
11 commits
| https://github.com/python/cpython/pull/94371/files |
|
87e97ae
Add test for creating frame object when making a generator.
markshannon Jun 27, 2022
| https://github.com/python/cpython/pull/94371/commits/87e97ae4ad8942bc0cc09174d8964c3e02b6b03b |
|
583d164
Don't expose incomplete frames as frame objects.
markshannon Jun 27, 2022
| https://github.com/python/cpython/pull/94371/commits/583d16470101800ceac6fc73bb46f37dc853404b |
|
5043a8b
Add news
markshannon Jun 28, 2022
| https://github.com/python/cpython/pull/94371/commits/5043a8bd8bf501cf867fa1ad165058e4b23f0774 |
|
e81c1f3
Cleanup after test.
markshannon Jun 28, 2022
| https://github.com/python/cpython/pull/94371/commits/e81c1f35f32b8fe0c0a1a3b254241c5bb9d71371 |
|
6d07165
Explain _PyFrame_IsIncomplete()
markshannon Jun 28, 2022
| https://github.com/python/cpython/pull/94371/commits/6d071657e154f627126b30b64696cd0692c15467 |
|
ce0d4b5
Try harder to break things
markshannon Jun 28, 2022
| https://github.com/python/cpython/pull/94371/commits/ce0d4b5b8d2255ab3e1ae2aaa2ec39e672f84d2a |
|
f56451b
Avoid creating frame objects for incomplete frames vai f_back.
markshannon Jun 28, 2022
| https://github.com/python/cpython/pull/94371/commits/f56451bc4aea748369d7ba28bff9a28b6e8e4e66 |
|
b69e803
Fix test
markshannon Jun 28, 2022
| https://github.com/python/cpython/pull/94371/commits/b69e8034d9ee549f5b7816b38056400b64dc6e92 |
|
c648d46
Assert frame is valid when creating frame object.
markshannon Jun 28, 2022
| https://github.com/python/cpython/pull/94371/commits/c648d46ec789782cade7541c5182fc476ce1fe52 |
|
cf0b32c
Prevent test polluting environment
markshannon Jun 28, 2022
| https://github.com/python/cpython/pull/94371/commits/cf0b32c0216357a893e22d0fe93f744c55c49ec7 |
|
939769c
Create all frames on stack from finalizer.
markshannon Jun 29, 2022
| https://github.com/python/cpython/pull/94371/commits/939769cab192429916417b8176b8eea069efecee |
|
Clear filters
| https://github.com/python/cpython/pull/94371/files |
| Please reload this page | https://github.com/python/cpython/pull/94371/files |
| Please reload this page | https://github.com/python/cpython/pull/94371/files |
|
pycore_frame.h
| https://github.com/python/cpython/pull/94371/files#diff-dc43b169f3202922a7787b97210ce299172f0cf03bd88529d473128f32e49fe4 |
|
test_generators.py
| https://github.com/python/cpython/pull/94371/files#diff-885d4a7a1816281a78b69ca46cc2b8fa73060bdf5d55cbc54cdebb3d7aa90a52 |
|
2022-06-28-10-08-06.gh-issue-94262.m-HWUZ.rst
| https://github.com/python/cpython/pull/94371/files#diff-8531d00930b55886327c46b6d0782567fda4162211591377875c3a7920cf2275 |
|
codeobject.c
| https://github.com/python/cpython/pull/94371/files#diff-6f869eb8beb7cbe4bc6817584b99ad567f88962fa67f7beca25d009dc401234d |
|
frameobject.c
| https://github.com/python/cpython/pull/94371/files#diff-7b8cef249e5cca077d30de4e428a6bde6b9b803464e790e9cffa7e052e19efdd |
|
frame.c
| https://github.com/python/cpython/pull/94371/files#diff-a4bce9eacb883a180151a309d9367502a69d7881188f93c7b6c0398249b6c14e |
|
sysmodule.c
| https://github.com/python/cpython/pull/94371/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb |
| Include/internal/pycore_frame.h | https://github.com/python/cpython/pull/94371/files#diff-dc43b169f3202922a7787b97210ce299172f0cf03bd88529d473128f32e49fe4 |
|
View file
| https://github.com/faster-cpython/cpython/blob/939769cab192429916417b8176b8eea069efecee/Include/internal/pycore_frame.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/94371/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/94371/files#diff-dc43b169f3202922a7787b97210ce299172f0cf03bd88529d473128f32e49fe4 |
|
| https://github.com/python/cpython/pull/94371/files#diff-dc43b169f3202922a7787b97210ce299172f0cf03bd88529d473128f32e49fe4 |
|
| https://github.com/python/cpython/pull/94371/files#diff-dc43b169f3202922a7787b97210ce299172f0cf03bd88529d473128f32e49fe4 |
| Lib/test/test_generators.py | https://github.com/python/cpython/pull/94371/files#diff-885d4a7a1816281a78b69ca46cc2b8fa73060bdf5d55cbc54cdebb3d7aa90a52 |
|
View file
| https://github.com/faster-cpython/cpython/blob/939769cab192429916417b8176b8eea069efecee/Lib/test/test_generators.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/94371/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/94371/files#diff-885d4a7a1816281a78b69ca46cc2b8fa73060bdf5d55cbc54cdebb3d7aa90a52 |
| Please reload this page | https://github.com/python/cpython/pull/94371/files |
| Please reload this page | https://github.com/python/cpython/pull/94371/files |
|
| https://github.com/python/cpython/pull/94371/files#diff-885d4a7a1816281a78b69ca46cc2b8fa73060bdf5d55cbc54cdebb3d7aa90a52 |
| Misc/NEWS.d/next/Core and Builtins/2022-06-28-10-08-06.gh-issue-94262.m-HWUZ.rst | https://github.com/python/cpython/pull/94371/files#diff-8531d00930b55886327c46b6d0782567fda4162211591377875c3a7920cf2275 |
|
View file
| https://github.com/faster-cpython/cpython/blob/939769cab192429916417b8176b8eea069efecee/Misc/NEWS.d/next/Core%20and%20Builtins/2022-06-28-10-08-06.gh-issue-94262.m-HWUZ.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/94371/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L210 |
| Objects/codeobject.c | https://github.com/python/cpython/pull/94371/files#diff-6f869eb8beb7cbe4bc6817584b99ad567f88962fa67f7beca25d009dc401234d |
|
View file
| https://github.com/faster-cpython/cpython/blob/939769cab192429916417b8176b8eea069efecee/Objects/codeobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/94371/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/94371/files#diff-6f869eb8beb7cbe4bc6817584b99ad567f88962fa67f7beca25d009dc401234d |
|
| https://github.com/python/cpython/pull/94371/files#diff-6f869eb8beb7cbe4bc6817584b99ad567f88962fa67f7beca25d009dc401234d |
|
| https://github.com/python/cpython/pull/94371/files#diff-6f869eb8beb7cbe4bc6817584b99ad567f88962fa67f7beca25d009dc401234d |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L212 |
| Objects/frameobject.c | https://github.com/python/cpython/pull/94371/files#diff-7b8cef249e5cca077d30de4e428a6bde6b9b803464e790e9cffa7e052e19efdd |
|
View file
| https://github.com/faster-cpython/cpython/blob/939769cab192429916417b8176b8eea069efecee/Objects/frameobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/94371/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/94371/files#diff-7b8cef249e5cca077d30de4e428a6bde6b9b803464e790e9cffa7e052e19efdd |
|
| https://github.com/python/cpython/pull/94371/files#diff-7b8cef249e5cca077d30de4e428a6bde6b9b803464e790e9cffa7e052e19efdd |
| Python/frame.c | https://github.com/python/cpython/pull/94371/files#diff-a4bce9eacb883a180151a309d9367502a69d7881188f93c7b6c0398249b6c14e |
|
View file
| https://github.com/faster-cpython/cpython/blob/939769cab192429916417b8176b8eea069efecee/Python/frame.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/94371/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/94371/files#diff-a4bce9eacb883a180151a309d9367502a69d7881188f93c7b6c0398249b6c14e |
|
| https://github.com/python/cpython/pull/94371/files#diff-a4bce9eacb883a180151a309d9367502a69d7881188f93c7b6c0398249b6c14e |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L243 |
| Python/sysmodule.c | https://github.com/python/cpython/pull/94371/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb |
|
View file
| https://github.com/faster-cpython/cpython/blob/939769cab192429916417b8176b8eea069efecee/Python/sysmodule.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/94371/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/94371/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb |
|
| https://github.com/python/cpython/pull/94371/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb |
|
| 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 |