| route-pattern | /:user_id/:repository/pull/*id(.:format) |
| route-controller | pull_requests |
| route-action | show |
| fetch-nonce | v2:bf797ae6-c3af-b920-8b54-7bf8f06ae337 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A4BC:1B6E6B:33833:44B35:696B5780 |
| html-safe-nonce | 8b4fce72f501fcb0681740b18ebb768ed274cd7e33055f47f8741e66235f257e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEJDOjFCNkU2QjozMzgzMzo0NEIzNTo2OTZCNTc4MCIsInZpc2l0b3JfaWQiOiI2MzYxNzE2NzQ4OTkzNjQ4NTEyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ccc6d0e063ab3e4695c82173718a920a70a1f528aa25b56c0374d02cd424a428 |
| hovercard-subject-tag | pull_request:1184858965 |
| 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 |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/100749 |
| twitter:image | https://opengraph.githubassets.com/0da7273ee88c546ab47a066453b1389e0c4c3727cfafc893675aadf6539011df/python/cpython/pull/100749 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0da7273ee88c546ab47a066453b1389e0c4c3727cfafc893675aadf6539011df/python/cpython/pull/100749 |
| og:image:alt | Issue: Code objects, function objects and generator object contain quite a lot of redundant information #100719 |
| 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 | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/100749#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F100749 |
| 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%2F100749 |
|
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&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/100749 |
| Reload | https://github.com/python/cpython/pull/100749 |
| Reload | https://github.com/python/cpython/pull/100749 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/100749 |
|
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/100749 |
|
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/100749#issue-comment-box |
| markshannon | https://github.com/markshannon |
| python:main | https://github.com/python/cpython/tree/main |
| faster-cpython:trim-code-object-2 | https://github.com/faster-cpython/cpython/tree/trim-code-object-2 |
|
GH-100719: Remove redundant gi_code field from generator object.
| https://github.com/python/cpython/pull/100749#top |
| markshannon | https://github.com/markshannon |
| python:main | https://github.com/python/cpython/tree/main |
| faster-cpython:trim-code-object-2 | https://github.com/faster-cpython/cpython/tree/trim-code-object-2 |
|
Conversation
9
| https://github.com/python/cpython/pull/100749 |
|
Commits
10
| https://github.com/python/cpython/pull/100749/commits |
|
Checks
0
| https://github.com/python/cpython/pull/100749/checks |
|
Files changed
| https://github.com/python/cpython/pull/100749/files |
| Please reload this page | https://github.com/python/cpython/pull/100749 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
| Jan 4, 2023 | https://github.com/python/cpython/pull/100749#issue-1518924796 |
| Please reload this page | https://github.com/python/cpython/pull/100749 |
| Code objects, function objects and generator object contain quite a lot of redundant information #100719 | https://github.com/python/cpython/issues/100719 |
| Please reload this page | https://github.com/python/cpython/pull/100749 |
| markshannon | https://github.com/markshannon |
| January 4, 2023 12:40 | https://github.com/python/cpython/pull/100749#commits-pushed-24c9400 |
|
| https://github.com/markshannon |
| Remove redundant gi_code field from generator object. | https://github.com/python/cpython/pull/100749/commits/24c94002473f82a076b97d565930a47a9bab90a0 |
| 24c9400 | https://github.com/python/cpython/pull/100749/commits/24c94002473f82a076b97d565930a47a9bab90a0 |
|
| https://github.com/markshannon |
| Add news | https://github.com/python/cpython/pull/100749/commits/d68ce2cf094f57d1cd14e726ffdfbf233fe1ab54 |
| d68ce2c | https://github.com/python/cpython/pull/100749/commits/d68ce2cf094f57d1cd14e726ffdfbf233fe1ab54 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| January 4, 2023 12:50 | https://github.com/python/cpython/pull/100749#event-8150872317 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Jan 4, 2023 | https://github.com/python/cpython/pull/100749#event-8150872665 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
Jan 4, 2023
| https://github.com/python/cpython/pull/100749#ref-issue-1517643934 |
|
Code objects, function objects and generator object contain quite a lot of redundant information
#100719
| https://github.com/python/cpython/issues/100719 |
| https://github.com/Fidget-Spinner |
| Fidget-Spinner | https://github.com/Fidget-Spinner |
|
Jan 4, 2023
| https://github.com/python/cpython/pull/100749#pullrequestreview-1235902274 |
|
View reviewed changes
| https://github.com/python/cpython/pull/100749/files/24c94002473f82a076b97d565930a47a9bab90a0 |
| Python/ceval.c | https://github.com/python/cpython/pull/100749/files/24c94002473f82a076b97d565930a47a9bab90a0#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
| Fidget-Spinner | https://github.com/Fidget-Spinner |
| Jan 4, 2023 | https://github.com/python/cpython/pull/100749#discussion_r1061496308 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/100749 |
| markshannon | https://github.com/markshannon |
| Jan 4, 2023 | https://github.com/python/cpython/pull/100749#discussion_r1061579711 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/100749 |
| markshannon | https://github.com/markshannon |
| January 4, 2023 15:31 | https://github.com/python/cpython/pull/100749#commits-pushed-3a9df11 |
|
| https://github.com/markshannon |
| Add API function to access code object of generator. | https://github.com/python/cpython/pull/100749/commits/3a9df11651c8d2cf5090f26f7e62bd32da6a9813 |
| 3a9df11 | https://github.com/python/cpython/pull/100749/commits/3a9df11651c8d2cf5090f26f7e62bd32da6a9813 |
|
| https://github.com/markshannon |
| Merge branch 'main' into trim-code-object-2 | https://github.com/python/cpython/pull/100749/commits/d891db9884f016e33430a085fdee41d4e3e5e2ac |
| d891db9 | https://github.com/python/cpython/pull/100749/commits/d891db9884f016e33430a085fdee41d4e3e5e2ac |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
|
Jan 4, 2023
| https://github.com/python/cpython/pull/100749#pullrequestreview-1236205037 |
|
View reviewed changes
| https://github.com/python/cpython/pull/100749/files/d891db9884f016e33430a085fdee41d4e3e5e2ac |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| https://github.com/python/cpython/pull/100749#pullrequestreview-1236205037 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/100749 |
| Include/cpython/genobject.h | https://github.com/python/cpython/pull/100749/files/d891db9884f016e33430a085fdee41d4e3e5e2ac#diff-7e048d42c4361dcaadfd296b41304996c936bf01baf7b049498fcc604c9fddd0 |
| Please reload this page | https://github.com/python/cpython/pull/100749 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Jan 4, 2023 | https://github.com/python/cpython/pull/100749#event-8153044452 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
| Jan 6, 2023 | https://github.com/python/cpython/pull/100749#issuecomment-1373479367 |
| Please reload this page | https://github.com/python/cpython/pull/100749 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
| January 6, 2023 11:08 | https://github.com/python/cpython/pull/100749#event-8168341136 |
| markshannon | https://github.com/markshannon |
| February 13, 2023 11:40 | https://github.com/python/cpython/pull/100749#commits-pushed-d81c042 |
|
| https://github.com/markshannon |
| Merge branch 'main' into trim-code-object-2 | https://github.com/python/cpython/pull/100749/commits/d81c0423a4517c3c3652ea4e2184108056c1de21 |
| d81c042 | https://github.com/python/cpython/pull/100749/commits/d81c0423a4517c3c3652ea4e2184108056c1de21 |
|
| https://github.com/markshannon |
| Add back gi_code field to PyGenObject and deprecate it. | https://github.com/python/cpython/pull/100749/commits/f7e9c7133e1982110cb078d6eb76b4752dd75015 |
| f7e9c71 | https://github.com/python/cpython/pull/100749/commits/f7e9c7133e1982110cb078d6eb76b4752dd75015 |
|
| https://github.com/markshannon |
| Merge branch 'main' into trim-code-object-2 | https://github.com/python/cpython/pull/100749/commits/453f80429cf4f371944dcde248323e77afefddab |
| 453f804 | https://github.com/python/cpython/pull/100749/commits/453f80429cf4f371944dcde248323e77afefddab |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
| February 13, 2023 16:06 | https://github.com/python/cpython/pull/100749#event-8506198031 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| February 14, 2023 10:53 | https://github.com/python/cpython/pull/100749#event-8514000721 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
|
Feb 17, 2023
| https://github.com/python/cpython/pull/100749#pullrequestreview-1302464571 |
|
View reviewed changes
| https://github.com/python/cpython/pull/100749/files/453f80429cf4f371944dcde248323e77afefddab |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| https://github.com/python/cpython/pull/100749#pullrequestreview-1302464571 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/100749 |
| markshannon | https://github.com/markshannon |
| February 21, 2023 15:15 | https://github.com/python/cpython/pull/100749#commits-pushed-a3e6ac6 |
|
| https://github.com/markshannon |
| Merge branch 'main' into trim-code-object-2 | https://github.com/python/cpython/pull/100749/commits/a3e6ac67db331c8bac4eff472b926204af1a35f8 |
| a3e6ac6 | https://github.com/python/cpython/pull/100749/commits/a3e6ac67db331c8bac4eff472b926204af1a35f8 |
|
| https://github.com/markshannon |
| Remove gi_code field | https://github.com/python/cpython/pull/100749/commits/1357cf0449409343f0215b74f820195dd2ede8a3 |
| 1357cf0 | https://github.com/python/cpython/pull/100749/commits/1357cf0449409343f0215b74f820195dd2ede8a3 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
| Feb 21, 2023 | https://github.com/python/cpython/pull/100749#issuecomment-1438674896 |
| Please reload this page | https://github.com/python/cpython/pull/100749 |
|
| https://github.com/markshannon |
| Merge branch 'main' into trim-code-object-2 | https://github.com/python/cpython/pull/100749/commits/47858c38a40f183c8f72aa9e3f1197989906fee0 |
| 47858c3 | https://github.com/python/cpython/pull/100749/commits/47858c38a40f183c8f72aa9e3f1197989906fee0 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
| 22b8d77 | https://github.com/python/cpython/commit/22b8d77b98a5944e688be0927b8139c49d4a7257 |
| Feb 23, 2023 | https://github.com/python/cpython/pull/100749#event-8589956906 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Feb 23, 2023 | https://github.com/python/cpython/pull/100749#event-8589957533 |
| scoder | https://github.com/scoder |
|
Mar 31, 2023
| https://github.com/python/cpython/pull/100749#ref-commit-d5c014f |
|
| https://github.com/scoder |
| Avoid accessing "PyGenObject->gi_code", which was removed in CPython … | https://github.com/cython/cython/commit/d5c014f63d422b1d1e004bc0e9a37907ab29c1cb |
| d5c014f | https://github.com/cython/cython/commit/d5c014f63d422b1d1e004bc0e9a37907ab29c1cb |
| python/cpython#100749 | https://github.com/python/cpython/pull/100749 |
| scoder | https://github.com/scoder |
|
Apr 2, 2023
| https://github.com/python/cpython/pull/100749#ref-commit-c96d7fd |
|
| https://github.com/scoder |
| Avoid accessing "PyGenObject->gi_code", which was removed in CPython … | https://github.com/cython/cython/commit/c96d7fd4f9589ccb308048c14a506684f911a3cc |
| c96d7fd | https://github.com/cython/cython/commit/c96d7fd4f9589ccb308048c14a506684f911a3cc |
| python/cpython#100749 | https://github.com/python/cpython/pull/100749 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
| September 26, 2023 12:50 | https://github.com/python/cpython/pull/100749#event-10474797396 |
| JelleZijlstra | https://github.com/JelleZijlstra |
|
Sep 10, 2024
| https://github.com/python/cpython/pull/100749#ref-commit-9c3b43f |
|
| https://github.com/markshannon |
|
| https://github.com/JelleZijlstra |
| pythonGH-100719 | https://github.com/python/cpython/issues/100719 |
| : Remove redundant | https://github.com/JelleZijlstra/cpython/commit/9c3b43ff9acaaac60c88ae2e9f6c2344500f97f6 |
| gi_code | https://github.com/JelleZijlstra/cpython/commit/9c3b43ff9acaaac60c88ae2e9f6c2344500f97f6 |
| field from generator obje… | https://github.com/JelleZijlstra/cpython/commit/9c3b43ff9acaaac60c88ae2e9f6c2344500f97f6 |
| 9c3b43f | https://github.com/JelleZijlstra/cpython/commit/9c3b43ff9acaaac60c88ae2e9f6c2344500f97f6 |
| pythonGH-100749 | https://github.com/python/cpython/pull/100749 |
| 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%2F100749 |
|
| https://github.com/Fidget-Spinner |
|
Fidget-Spinner
| https://github.com/Fidget-Spinner |
|
| https://github.com/python/cpython/pull/100749/files/24c94002473f82a076b97d565930a47a9bab90a0 |
|
| https://github.com/ericsnowcurrently |
|
ericsnowcurrently
| https://github.com/ericsnowcurrently |
|
| https://github.com/python/cpython/pull/100749/files/453f80429cf4f371944dcde248323e77afefddab |
| Please reload this page | https://github.com/python/cpython/pull/100749 |
|
| https://github.com/markshannon |
|
| https://github.com/ericsnowcurrently |
|
| https://github.com/Fidget-Spinner |
|
| https://github.com/bedevere-bot |
|
| 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 |