| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c0e9253a-6d67-0262-e8ac-882c35f19771 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ABCC:30A6D1:5ACDEC:845C57:6A56104D |
| html-safe-nonce | fb8b732e0b814233549dba8847d1bc6ad47de9413663e397fbd7edf075d28034 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkNDOjMwQTZEMTo1QUNERUM6ODQ1QzU3OjZBNTYxMDREIiwidmlzaXRvcl9pZCI6IjI2MjIyNjM1OTgyNzAyNTUxODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7a04c5bc3150b7e63bea380ec9911cffec2eaf23f37e948076a7fdab466c99f2 |
| hovercard-subject-tag | pull_request:287017910 |
| 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/13969/files |
| twitter:image | https://avatars.githubusercontent.com/u/11718525?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/11718525?s=400&v=4 |
| og:image:alt | Considering this code:
if x:
if (y and
z):
foo()
else:
bar()
Before
2 0 LOAD_GLOBAL 0 (x)
2 POP_JUMP_IF_FALSE 20
3 ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f4368738fc918fecd9b3958f6b49218bbe60d4185f38e72e3954e11f1ad0213a |
| 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 | 85a7179838b41e8b23f939d3b67b53f752ecfc54 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/13969/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F13969%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| 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 |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| 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/enterprise/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%2F13969%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/13969/files |
| Reload | https://github.com/python/cpython/pull/13969/files |
| Reload | https://github.com/python/cpython/pull/13969/files |
| Please reload this page | https://github.com/python/cpython/pull/13969/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/13969/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.8k
| 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.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
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 and quality
| 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 |
| pablogsal | https://github.com/pablogsal |
| python:master | https://github.com/python/cpython/tree/master |
| pablogsal:bpo-37213 | https://github.com/pablogsal/cpython/tree/bpo-37213 |
|
Conversation
29
| https://github.com/python/cpython/pull/13969 |
|
Commits
11
| https://github.com/python/cpython/pull/13969/commits |
|
Checks
0
| https://github.com/python/cpython/pull/13969/checks |
|
Files changed
| https://github.com/python/cpython/pull/13969/files |
| Please reload this page | https://github.com/python/cpython/pull/13969/files |
|
bpo-37213: Handle negative line deltas correctly in the peephole optimizer
| https://github.com/python/cpython/pull/13969/files#top |
|
Show all changes
11 commits
| https://github.com/python/cpython/pull/13969/files |
|
c2eb0dc
bpo-37213: Handle negative line deltas correctly in the peephole opti…
pablogsal Jun 11, 2019
| https://github.com/python/cpython/pull/13969/commits/c2eb0dceb62efef8d806099dc416bb6e3854acd6 |
|
49f99e5
Add NEWS entry
pablogsal Jun 11, 2019
| https://github.com/python/cpython/pull/13969/commits/49f99e5de54c9b7425038b0bf25b6bf98efdd55c |
|
488f826
Merge comments
pablogsal Jun 11, 2019
| https://github.com/python/cpython/pull/13969/commits/488f826ed14c55cfa59e7f2aae5523aba8dd2f58 |
|
ec64233
Update Python/peephole.c
pablogsal Jun 11, 2019
| https://github.com/python/cpython/pull/13969/commits/ec6423366d2f0bad567e7875eabf9b171f1da495 |
|
1c82094
Add tests
pablogsal Jun 11, 2019
| https://github.com/python/cpython/pull/13969/commits/1c82094f340b324e9c423f69842982c69a84b4d4 |
|
cbe179d
Regen importlib
pablogsal Jun 11, 2019
| https://github.com/python/cpython/pull/13969/commits/cbe179d0defc3cd46ae5c1b81a3524aab54fb013 |
|
4ce65ed
fixup! Regen importlib
pablogsal Jun 12, 2019
| https://github.com/python/cpython/pull/13969/commits/4ce65ed9058d97a701c6af14728b1d9905c77ea6 |
|
7a441b1
fixup! fixup! Regen importlib
pablogsal Jun 12, 2019
| https://github.com/python/cpython/pull/13969/commits/7a441b10dcbda27e0b1c4ef212d48a3ccc7ec1a6 |
|
bad40df
Fix comment indentation
pablogsal Jun 12, 2019
| https://github.com/python/cpython/pull/13969/commits/bad40df65aab4d2335ed2601bb3a57138533a2f4 |
|
a56c3bf
fixup! Fix comment indentation
pablogsal Jun 12, 2019
| https://github.com/python/cpython/pull/13969/commits/a56c3bf32feeecf9c9981d8642dd2e8ce308a598 |
|
7c70683
fixup! fixup! Fix comment indentation
pablogsal Jun 13, 2019
| https://github.com/python/cpython/pull/13969/commits/7c70683a17c23ccdf73e37caaa98094c94cd08db |
|
Clear filters
| https://github.com/python/cpython/pull/13969/files |
| Please reload this page | https://github.com/python/cpython/pull/13969/files |
| Please reload this page | https://github.com/python/cpython/pull/13969/files |
|
test_peepholer.py
| https://github.com/python/cpython/pull/13969/files#diff-bcf92ed219340e9e0c52401909828c2e9a821541660073e24d64dd996beaf842 |
|
2019-06-11-11-15-19.bpo-37213.UPii5K.rst
| https://github.com/python/cpython/pull/13969/files#diff-7b81ebd360a4c1b39f71349bf810dde78dbdb4c1d4e847430dfc2347304f4523 |
|
importlib.h
| https://github.com/python/cpython/pull/13969/files#diff-f22c3fe718474bf1830c047f516ef95818493a9a9fcf8f2d5b159b1b5b76ecd6 |
|
importlib_external.h
| https://github.com/python/cpython/pull/13969/files#diff-edaa85591e6f559d0fae8073b45dc3e9c8e251053d07623b2ce23392dfe97a7e |
|
importlib_zipimport.h
| https://github.com/python/cpython/pull/13969/files#diff-885727a7f2320fa6a12abd49340cc1f516bc5e1bb4fdcb211da1e06e783adeef |
|
peephole.c
| https://github.com/python/cpython/pull/13969/files#diff-3bc78aafc8aa0da74cdc1cbf79c5722d549b721c0b1c12f2943df3a531869846 |
| Lib/test/test_peepholer.py | https://github.com/python/cpython/pull/13969/files#diff-bcf92ed219340e9e0c52401909828c2e9a821541660073e24d64dd996beaf842 |
|
View file
| https://github.com/pablogsal/cpython/blob/7c70683a17c23ccdf73e37caaa98094c94cd08db/Lib/test/test_peepholer.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/13969/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/13969/files#diff-bcf92ed219340e9e0c52401909828c2e9a821541660073e24d64dd996beaf842 |
|
| https://github.com/python/cpython/pull/13969/files#diff-bcf92ed219340e9e0c52401909828c2e9a821541660073e24d64dd996beaf842 |
|
| https://github.com/python/cpython/pull/13969/files#diff-bcf92ed219340e9e0c52401909828c2e9a821541660073e24d64dd996beaf842 |
|
| https://github.com/python/cpython/pull/13969/files#diff-bcf92ed219340e9e0c52401909828c2e9a821541660073e24d64dd996beaf842 |
| Misc/NEWS.d/next/Core and Builtins/2019-06-11-11-15-19.bpo-37213.UPii5K.rst | https://github.com/python/cpython/pull/13969/files#diff-7b81ebd360a4c1b39f71349bf810dde78dbdb4c1d4e847430dfc2347304f4523 |
|
View file
| https://github.com/pablogsal/cpython/blob/7c70683a17c23ccdf73e37caaa98094c94cd08db/Misc/NEWS.d/next/Core%20and%20Builtins/2019-06-11-11-15-19.bpo-37213.UPii5K.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/13969/{{ revealButtonHref }} |
| Please reload this page | https://github.com/python/cpython/pull/13969/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 |