| 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:5c62ea0e-608a-49fa-6694-24303383ac1d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9102:1B7E6F:21FE0A6:2E9AF9B:696ABC15 |
| html-safe-nonce | cac9f640cdcb0c685f6cd031ccce26eae20c76615c34331ac5fa7283bd41595a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTAyOjFCN0U2RjoyMUZFMEE2OjJFOUFGOUI6Njk2QUJDMTUiLCJ2aXNpdG9yX2lkIjoiNTQyMjI1OTAxNDUzMzI5OTIyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6da7fae18bf25a7f469d67379195c46c58f4e0400acc033f261621e34f5c1526 |
| hovercard-subject-tag | pull_request:536954679 |
| 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/23743/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/dcf8045871d09613531828ab21063fa6c845c3003ce3573aa8d650e76a69445d/python/cpython/pull/23743 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dcf8045871d09613531828ab21063fa6c845c3003ce3573aa8d650e76a69445d/python/cpython/pull/23743 |
| og:image:alt | PEP 626 requires all expressions and statements to be traced, even if the code is redundant.
This PR does that for while and if statements.
The performance impact on while 1: loops is minimized by ... |
| 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 | 46ce962e0e18113ea447391b6ace8b02d4d2861e57b4fbab3658698f73d8855b |
| 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 | 30300f30bb3949de255e84a146706a3bdb5c19c9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/23743#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F23743 |
| 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%2F23743 |
|
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/23743 |
| Reload | https://github.com/python/cpython/pull/23743 |
| Reload | https://github.com/python/cpython/pull/23743 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/23743 |
|
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/23743 |
|
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/23743#issue-comment-box |
| markshannon | https://github.com/markshannon |
| python:master | https://github.com/python/cpython/tree/master |
| markshannon:remove-dont-emit-macros | https://github.com/markshannon/cpython/tree/remove-dont-emit-macros |
|
bpo-42246: Remove DO_NOT_EMIT_BYTECODE macros, so that while loops and if statements conform to PEP 626.
| https://github.com/python/cpython/pull/23743#top |
| markshannon | https://github.com/markshannon |
| python:master | https://github.com/python/cpython/tree/master |
| markshannon:remove-dont-emit-macros | https://github.com/markshannon/cpython/tree/remove-dont-emit-macros |
|
Conversation
7
| https://github.com/python/cpython/pull/23743 |
|
Commits
2
| https://github.com/python/cpython/pull/23743/commits |
|
Checks
0
| https://github.com/python/cpython/pull/23743/checks |
|
Files changed
| https://github.com/python/cpython/pull/23743/files |
| Please reload this page | https://github.com/python/cpython/pull/23743 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
| Dec 11, 2020 | https://github.com/python/cpython/pull/23743#issue-762409858 |
| Please reload this page | https://github.com/python/cpython/pull/23743 |
| https://bugs.python.org/issue42246 | https://bugs.python.org/issue42246 |
| Please reload this page | https://github.com/python/cpython/pull/23743 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Dec 11, 2020 | https://github.com/python/cpython/pull/23743#event-4100696590 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
| pablogsal | https://github.com/pablogsal |
| December 11, 2020 14:42 | https://github.com/python/cpython/pull/23743#event-4100698857 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
|
Dec 11, 2020
| https://github.com/python/cpython/pull/23743#pullrequestreview-550172754 |
|
View reviewed changes
| https://github.com/python/cpython/pull/23743/files |
| Lib/test/test_peepholer.py | https://github.com/python/cpython/pull/23743/files#diff-bcf92ed219340e9e0c52401909828c2e9a821541660073e24d64dd996beaf842 |
| markshannon | https://github.com/markshannon |
| Dec 11, 2020 | https://github.com/python/cpython/pull/23743#discussion_r541007522 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/23743 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
| Dec 11, 2020 | https://github.com/python/cpython/pull/23743#event-4101064592 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
| Dec 11, 2020 | https://github.com/python/cpython/pull/23743#event-4101064847 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
| force-pushed | https://github.com/python/cpython/compare/f1c4c1e501c0e3e1d2852490f3bab6da8c3901df..ca056d42bbf9c2a1981db979d991984d62fc7902 |
| f1c4c1e | https://github.com/python/cpython/commit/f1c4c1e501c0e3e1d2852490f3bab6da8c3901df |
| ca056d4 | https://github.com/python/cpython/commit/ca056d42bbf9c2a1981db979d991984d62fc7902 |
|
Compare
| https://github.com/python/cpython/compare/f1c4c1e501c0e3e1d2852490f3bab6da8c3901df..ca056d42bbf9c2a1981db979d991984d62fc7902 |
| December 14, 2020 07:15 | https://github.com/python/cpython/pull/23743#event-4107553386 |
|
| https://github.com/markshannon |
| Remove DO_NOT_EMIT_BYTECODE macros, so that while loops and if statem… | https://github.com/python/cpython/pull/23743/commits/a239d48ce732b2786f486eab340fc28b74b4e1a1 |
| a239d48 | https://github.com/python/cpython/pull/23743/commits/a239d48ce732b2786f486eab340fc28b74b4e1a1 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
| force-pushed | https://github.com/python/cpython/compare/ca056d42bbf9c2a1981db979d991984d62fc7902..a239d48ce732b2786f486eab340fc28b74b4e1a1 |
| ca056d4 | https://github.com/python/cpython/commit/ca056d42bbf9c2a1981db979d991984d62fc7902 |
| a239d48 | https://github.com/python/cpython/commit/a239d48ce732b2786f486eab340fc28b74b4e1a1 |
|
Compare
| https://github.com/python/cpython/compare/ca056d42bbf9c2a1981db979d991984d62fc7902..a239d48ce732b2786f486eab340fc28b74b4e1a1 |
| December 14, 2020 12:47 | https://github.com/python/cpython/pull/23743#event-4109034643 |
|
| https://github.com/markshannon |
| Delete the macros. | https://github.com/python/cpython/pull/23743/commits/c15f5abd55e371960c70c1fc280411720185376c |
| c15f5ab | https://github.com/python/cpython/pull/23743/commits/c15f5abd55e371960c70c1fc280411720185376c |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
| Dec 14, 2020 | https://github.com/python/cpython/pull/23743#event-4109122825 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
| Dec 14, 2020 | https://github.com/python/cpython/pull/23743#event-4109123005 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
|
🔨 test-with-buildbots
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22 |
| Dec 14, 2020 | https://github.com/python/cpython/pull/23743#event-4109734744 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Dec 14, 2020 | https://github.com/python/cpython/pull/23743#issuecomment-744501567 |
| @markshannon | https://github.com/markshannon |
| c15f5ab | https://github.com/python/cpython/commit/c15f5abd55e371960c70c1fc280411720185376c |
| Please reload this page | https://github.com/python/cpython/pull/23743 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
🔨 test-with-buildbots
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22 |
| Dec 14, 2020 | https://github.com/python/cpython/pull/23743#event-4109734967 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
| Dec 15, 2020 | https://github.com/python/cpython/pull/23743#issuecomment-745219129 |
| Please reload this page | https://github.com/python/cpython/pull/23743 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
| 8473cf8 | https://github.com/python/cpython/commit/8473cf89bdbf2cb292b39c972db540504669b9cd |
| Dec 15, 2020 | https://github.com/python/cpython/pull/23743#event-4114006929 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Dec 15, 2020 | https://github.com/python/cpython/pull/23743#issuecomment-745243671 |
| 8473cf8 | https://github.com/python/cpython/commit/8473cf89bdbf2cb292b39c972db540504669b9cd |
| the buildbot page in the devguide | https://devguide.python.org/buildbots/ |
| https://buildbot.python.org/all/#builders/539/builds/421 | https://buildbot.python.org/all/#builders/539/builds/421 |
| 8473cf8 | https://github.com/python/cpython/commit/8473cf89bdbf2cb292b39c972db540504669b9cd |
| https://buildbot.python.org/all/#builders/539/builds/421 | https://buildbot.python.org/all/#builders/539/builds/421 |
| Please reload this page | https://github.com/python/cpython/pull/23743 |
| https://github.com/Sassybabydoll1969 |
| Sassybabydoll1969 | https://github.com/Sassybabydoll1969 |
|
Dec 15, 2020
| https://github.com/python/cpython/pull/23743#pullrequestreview-552451074 |
|
View reviewed changes
| https://github.com/python/cpython/pull/23743/files/c15f5abd55e371960c70c1fc280411720185376c |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
|
Jan 4, 2021
| https://github.com/python/cpython/pull/23743#ref-pullrequest-778078419 |
|
bpo-42246: Delete the now unused c_do_not_emit_bytecode field.
#24094
| https://github.com/python/cpython/pull/24094 |
| adorilson | https://github.com/adorilson |
|
Mar 13, 2021
| https://github.com/python/cpython/pull/23743#ref-commit-d3ed8d2 |
|
| https://github.com/markshannon |
|
| https://github.com/adorilson |
| bpo-42246: Remove DO_NOT_EMIT_BYTECODE macros, so that while loops an… | https://github.com/adorilson/cpython/commit/d3ed8d2529bbd06d98fbe6733b02bb15e45c70d7 |
| d3ed8d2 | https://github.com/adorilson/cpython/commit/d3ed8d2529bbd06d98fbe6733b02bb15e45c70d7 |
| pythonGH-23743 | https://github.com/python/cpython/pull/23743 |
| gvanrossum | https://github.com/gvanrossum |
|
Dec 4, 2021
| https://github.com/python/cpython/pull/23743#ref-commit-7a72b0d |
|
| https://github.com/gvanrossum |
| Delete orphaned comment | https://github.com/python/cpython/commit/7a72b0d64004f91c552711a8630cd3db3464931c |
| 7a72b0d | https://github.com/python/cpython/commit/7a72b0d64004f91c552711a8630cd3db3464931c |
| #23743 | https://github.com/python/cpython/pull/23743 |
| https://github.com/gvanrossum |
| gvanrossum | https://github.com/gvanrossum |
|
Dec 4, 2021
| https://github.com/python/cpython/pull/23743#ref-pullrequest-1071308124 |
|
Delete orphaned comment
#29917
| https://github.com/python/cpython/pull/29917 |
| gvanrossum | https://github.com/gvanrossum |
|
Dec 5, 2021
| https://github.com/python/cpython/pull/23743#ref-commit-605f4bf |
|
| https://github.com/gvanrossum |
| Delete orphaned comment ( | https://github.com/python/cpython/commit/605f4bf7838dbef86b52c955dc21ab489219490f |
| #29917 | https://github.com/python/cpython/pull/29917 |
| ) | https://github.com/python/cpython/commit/605f4bf7838dbef86b52c955dc21ab489219490f |
| 605f4bf | https://github.com/python/cpython/commit/605f4bf7838dbef86b52c955dc21ab489219490f |
| #23743 | https://github.com/python/cpython/pull/23743 |
| 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%2F23743 |
|
| https://github.com/pablogsal |
|
pablogsal
| https://github.com/pablogsal |
|
| https://github.com/Sassybabydoll1969 |
|
Sassybabydoll1969
| https://github.com/Sassybabydoll1969 |
|
| https://github.com/python/cpython/pull/23743/files/c15f5abd55e371960c70c1fc280411720185376c |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Please reload this page | https://github.com/python/cpython/pull/23743 |
|
| https://github.com/markshannon |
|
| https://github.com/bedevere-bot |
|
| https://github.com/Sassybabydoll1969 |
|
| 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 |