| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:0af8f505-6a3d-1d53-84f8-785b0034e728 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C5D2:333370:1D14A31:289CA16:696A5C02 |
| html-safe-nonce | 057c12b4445482791d397f4e37f6de9028028f76d0dbeb97b45442454907c132 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUQyOjMzMzM3MDoxRDE0QTMxOjI4OUNBMTY6Njk2QTVDMDIiLCJ2aXNpdG9yX2lkIjoiODEwMzIyNTI5MjAxMzMyOTQxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e003cb7de411e40bb1e157a4068f036efe1859f49efe4f30eea26bdef41dd9bd |
| hovercard-subject-tag | pull_request:1217290621 |
| 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/101333/files |
| twitter:image | https://avatars.githubusercontent.com/u/2894642?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2894642?s=400&v=4 |
| og:image:alt | We can now write
inst(OP, (foo if (oparg & 1) -- bar if (oparg & 2)) {
...
}
which pops foo off the stack if oparg & 1, otherwise setting it to NULL, and pushes bar onto the stack ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| 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 | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/101333/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F101333%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%2F101333%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/101333/files |
| Reload | https://github.com/python/cpython/pull/101333/files |
| Reload | https://github.com/python/cpython/pull/101333/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/101333/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/101333/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 |
| gvanrossum | https://github.com/gvanrossum |
| python:main | https://github.com/python/cpython/tree/main |
| gvanrossum:cond-cases | https://github.com/gvanrossum/cpython/tree/cond-cases |
|
Conversation
28
| https://github.com/python/cpython/pull/101333 |
|
Commits
15
| https://github.com/python/cpython/pull/101333/commits |
|
Checks
0
| https://github.com/python/cpython/pull/101333/checks |
|
Files changed
| https://github.com/python/cpython/pull/101333/files |
| Please reload this page | https://github.com/python/cpython/pull/101333/files |
|
gh-98831: Support conditional effects; use for LOAD_ATTR
| https://github.com/python/cpython/pull/101333/files#top |
|
Show all changes
15 commits
| https://github.com/python/cpython/pull/101333/files |
|
af97a7e
Add parser support for conditional stack effects
gvanrossum Jan 25, 2023
| https://github.com/python/cpython/pull/101333/commits/af97a7e20004c2de27eeeacd7f1a368940156deb |
|
fbcdde3
Fix a typo in test_generator.py that made it into main :-(
gvanrossum Jan 25, 2023
| https://github.com/python/cpython/pull/101333/commits/fbcdde371e1636927b542aabd1293b7e071d1dc6 |
|
27246e9
Make conditional effects work, in theory
gvanrossum Jan 25, 2023
| https://github.com/python/cpython/pull/101333/commits/27246e9d2b2c10d7e72677ca6c7ffd83cd4136a7 |
|
667630e
Convert LOAD_ATTR to new format
gvanrossum Jan 26, 2023
| https://github.com/python/cpython/pull/101333/commits/667630e6ca0dc6aef7719b82079a1d11d1642801 |
|
69dbc5e
Conditionalize effect_size()
gvanrossum Jan 26, 2023
| https://github.com/python/cpython/pull/101333/commits/69dbc5e87f8edb9375b500140fdef749dcf779f4 |
|
6a03438
Fix two bugs in case generator
gvanrossum Jan 26, 2023
| https://github.com/python/cpython/pull/101333/commits/6a03438b861071e327d558862123c640d6745208 |
|
2310916
Merge branch 'fix-op-metadata' into cond-cases
gvanrossum Jan 26, 2023
| https://github.com/python/cpython/pull/101333/commits/23109165c792391bb96fec127b90c9dd832e8bc4 |
|
a0fa513
Blackify
gvanrossum Jan 26, 2023
| https://github.com/python/cpython/pull/101333/commits/a0fa513d384add21868a54cbc8335b7a3996f28c |
|
8aeaf01
Merge remote-tracking branch 'origin/main' into cond-cases
gvanrossum Jan 26, 2023
| https://github.com/python/cpython/pull/101333/commits/8aeaf0169959afe459b335ff655f8a36ca0fe675 |
|
6240934
Use Irit's idea
gvanrossum Jan 26, 2023
| https://github.com/python/cpython/pull/101333/commits/62409346ce4edef34ee63b2591c42e1a3a627284 |
|
d78e2a7
Cleanup
gvanrossum Jan 26, 2023
| https://github.com/python/cpython/pull/101333/commits/d78e2a74a7f2c51c3bd93e8728c4fd550a596605 |
|
e69c1f3
Change order in LOAD_ATTR output effect
gvanrossum Jan 27, 2023
| https://github.com/python/cpython/pull/101333/commits/e69c1f3e7a01d253e05bd01ce0b57dce9b96cfeb |
|
c5529c6
Fix type annotations to satisfy pyright (and mypy mostly)
gvanrossum Jan 28, 2023
| https://github.com/python/cpython/pull/101333/commits/c5529c66c080781f9003de6b312ed3ef2d663500 |
|
37e3b40
Solve uninitalized variable warning using = NULL
gvanrossum Jan 28, 2023
| https://github.com/python/cpython/pull/101333/commits/37e3b407f26160c20cbbd85fd55489ce237b8946 |
|
81e5236
Use 'X ? 1 : 0' instead of 'X != 0'
gvanrossum Jan 28, 2023
| https://github.com/python/cpython/pull/101333/commits/81e523659245b8fb421aa755ac87abc44fa4ed98 |
|
Clear filters
| https://github.com/python/cpython/pull/101333/files |
| Please reload this page | https://github.com/python/cpython/pull/101333/files |
| Please reload this page | https://github.com/python/cpython/pull/101333/files |
|
bytecodes.c
| https://github.com/python/cpython/pull/101333/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
generated_cases.c.h
| https://github.com/python/cpython/pull/101333/files#diff-4ef46fa654f95502e49a24f7dc8ee31a4cac9b3433fe9cd2b2d4dd78cfbad448 |
|
opcode_metadata.h
| https://github.com/python/cpython/pull/101333/files#diff-f862bc60824529a25ba378be850ecc6762f03c6c944266d30ac7172d10132498 |
|
generate_cases.py
| https://github.com/python/cpython/pull/101333/files#diff-65feee563fa44b472b07751184c6f557699f84b3c2ef79174bfd5d538d748272 |
|
parser.py
| https://github.com/python/cpython/pull/101333/files#diff-bc6851ce97efb76ebfd0bc2f37d62ac0902080d0749be72d29d978f0ee2fa0e4 |
|
test_generator.py
| https://github.com/python/cpython/pull/101333/files#diff-fc6342d3ebecd67de2e51a64957243cedfb00bc645307fe91e8e8b285ecca98c |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L221 |
| Python/bytecodes.c | https://github.com/python/cpython/pull/101333/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
View file
| https://github.com/gvanrossum/cpython/blob/81e523659245b8fb421aa755ac87abc44fa4ed98/Python/bytecodes.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/101333/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/101333/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
| gvanrossum | https://github.com/gvanrossum |
| Jan 28, 2023 | https://github.com/python/cpython/pull/101333/files#r1089827515 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/101333/files |
|
| https://github.com/python/cpython/pull/101333/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
| https://github.com/python/cpython/pull/101333/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
| https://github.com/python/cpython/pull/101333/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
| https://github.com/python/cpython/pull/101333/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
| https://github.com/python/cpython/pull/101333/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
| Python/generated_cases.c.h | https://github.com/python/cpython/pull/101333/files#diff-4ef46fa654f95502e49a24f7dc8ee31a4cac9b3433fe9cd2b2d4dd78cfbad448 |
|
View file
| https://github.com/gvanrossum/cpython/blob/81e523659245b8fb421aa755ac87abc44fa4ed98/Python/generated_cases.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/101333/files |
| Python/opcode_metadata.h | https://github.com/python/cpython/pull/101333/files#diff-f862bc60824529a25ba378be850ecc6762f03c6c944266d30ac7172d10132498 |
|
View file
| https://github.com/gvanrossum/cpython/blob/81e523659245b8fb421aa755ac87abc44fa4ed98/Python/opcode_metadata.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/101333/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/101333/files#diff-f862bc60824529a25ba378be850ecc6762f03c6c944266d30ac7172d10132498 |
|
| https://github.com/python/cpython/pull/101333/files#diff-f862bc60824529a25ba378be850ecc6762f03c6c944266d30ac7172d10132498 |
|
| https://github.com/python/cpython/pull/101333/files#diff-f862bc60824529a25ba378be850ecc6762f03c6c944266d30ac7172d10132498 |
|
| https://github.com/python/cpython/pull/101333/files#diff-f862bc60824529a25ba378be850ecc6762f03c6c944266d30ac7172d10132498 |
|
| https://github.com/python/cpython/pull/101333/files#diff-f862bc60824529a25ba378be850ecc6762f03c6c944266d30ac7172d10132498 |
|
| https://github.com/python/cpython/pull/101333/files#diff-f862bc60824529a25ba378be850ecc6762f03c6c944266d30ac7172d10132498 |
|
| https://github.com/python/cpython/pull/101333/files#diff-f862bc60824529a25ba378be850ecc6762f03c6c944266d30ac7172d10132498 |
|
| https://github.com/python/cpython/pull/101333/files#diff-f862bc60824529a25ba378be850ecc6762f03c6c944266d30ac7172d10132498 |
| Please reload this page | https://github.com/python/cpython/pull/101333/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 |