René's URL Explorer Experiment


Title: bpo-37269: Correctly optimize constant conditionals of binops by pablogsal · Pull Request #14071 · python/cpython · GitHub

Open Graph Title: bpo-37269: Correctly optimize constant conditionals of binops by pablogsal · Pull Request #14071 · python/cpython

X Title: bpo-37269: Correctly optimize constant conditionals of binops by pablogsal · Pull Request #14071 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: https://bugs.python.org/issue37269

X Description: https://bugs.python.org/issue37269

Opengraph URL: https://github.com/python/cpython/pull/14071

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:d284c6d8-c8f1-930b-9397-c100b3f7ae23
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id970A:3819A0:590552:79A4B5:6A559F82
html-safe-nonce6e83f840032c226beb8db537f5abeafec5f8f17941adf974f0614fce047dc96d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzBBOjM4MTlBMDo1OTA1NTI6NzlBNEI1OjZBNTU5RjgyIiwidmlzaXRvcl9pZCI6Ijg4NzIzMTAwODM0MDI3MDI3MjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca54a2ae7d5f1a8a699db1f2071540cde6178138094526b505b2799b541e681b0
hovercard-subject-tagpull_request:288186239
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/14071/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ac1e1e3842330272f83bda798830e9afe4c42d2fc43a21c98f5cf799f3c3d270/python/cpython/pull/14071
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ac1e1e3842330272f83bda798830e9afe4c42d2fc43a21c98f5cf799f3c3d270/python/cpython/pull/14071
og:image:althttps://bugs.python.org/issue37269
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepablogsal
hostnamegithub.com
expected-hostnamegithub.com
Noneb5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseaa21baa44893467b0b640d0300538f84ca8c475b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/14071#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F14071
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2F14071
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
Reloadhttps://github.com/python/cpython/pull/14071
Reloadhttps://github.com/python/cpython/pull/14071
Reloadhttps://github.com/python/cpython/pull/14071
Please reload this pagehttps://github.com/python/cpython/pull/14071
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/14071
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
pablogsalhttps://github.com/pablogsal
python:masterhttps://github.com/python/cpython/tree/master
pablogsal:bpo37269https://github.com/pablogsal/cpython/tree/bpo37269
Conversationhttps://github.com/python/cpython/pull/14071
Commits4 (4)https://github.com/python/cpython/pull/14071/commits
Checkshttps://github.com/python/cpython/pull/14071/checks
Files changedhttps://github.com/python/cpython/pull/14071/files
bpo-37269: Correctly optimize constant conditionals of binopshttps://github.com/python/cpython/pull/14071#top
pablogsalhttps://github.com/pablogsal
python:masterhttps://github.com/python/cpython/tree/master
pablogsal:bpo37269https://github.com/pablogsal/cpython/tree/bpo37269
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Jun 14, 2019https://github.com/python/cpython/pull/14071#issue-456066602
Please reload this pagehttps://github.com/python/cpython/pull/14071
https://bugs.python.org/issue37269https://bugs.python.org/issue37269
Please reload this pagehttps://github.com/python/cpython/pull/14071
https://github.com/pablogsal
Correctly optimize constant conditionals of binopshttps://github.com/python/cpython/pull/14071/commits/6d6ca20f3a4273e0280974a72d7dff2b23e1f848
6d6ca20https://github.com/python/cpython/pull/14071/commits/6d6ca20f3a4273e0280974a72d7dff2b23e1f848
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Jun 14, 2019https://github.com/python/cpython/pull/14071#event-2412587409
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Jun 14, 2019https://github.com/python/cpython/pull/14071#event-2412587441
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jun 14, 2019https://github.com/python/cpython/pull/14071#event-2412587468
pablogsalhttps://github.com/pablogsal
June 14, 2019 06:32https://github.com/python/cpython/pull/14071#commits-pushed-0fd6ad9
https://github.com/pablogsal
Add News entryhttps://github.com/python/cpython/pull/14071/commits/0fd6ad97c95c9b54e859d2213ffd5341d11f0a99
0fd6ad9https://github.com/python/cpython/pull/14071/commits/0fd6ad97c95c9b54e859d2213ffd5341d11f0a99
https://github.com/pablogsal
Add formattinghttps://github.com/python/cpython/pull/14071/commits/152f7004ba996dacfbde318e3eb1ca4f7d773a89
152f700https://github.com/python/cpython/pull/14071/commits/152f7004ba996dacfbde318e3eb1ca4f7d773a89
https://github.com/pablogsal
Better namehttps://github.com/python/cpython/pull/14071/commits/14860e901c850c1f6a2269de15b30bb5d398801c
14860e9https://github.com/python/cpython/pull/14071/commits/14860e901c850c1f6a2269de15b30bb5d398801c
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
needs backport to 3.8 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.8%22
Jun 14, 2019https://github.com/python/cpython/pull/14071#event-2412604033
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
05f8318https://github.com/python/cpython/commit/05f831865545b08c9a21cfb7773af58b76ec64cb
Jun 14, 2019https://github.com/python/cpython/pull/14071#event-2412623756
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Jun 14, 2019https://github.com/python/cpython/pull/14071#issuecomment-501978313
@pablogsalhttps://github.com/pablogsal
Please reload this pagehttps://github.com/python/cpython/pull/14071
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jun 14, 2019https://github.com/python/cpython/pull/14071#event-2412623809
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
June 14, 2019 05:54https://github.com/python/cpython/pull/14071#event-2412623830
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.8 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.8%22
Jun 14, 2019https://github.com/python/cpython/pull/14071#event-2412624588
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jun 14, 2019https://github.com/python/cpython/pull/14071#issuecomment-501978442
GH-14072https://github.com/python/cpython/pull/14072
3.8 branchhttps://github.com/python/cpython/tree/3.8
Please reload this pagehttps://github.com/python/cpython/pull/14071
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Jun 14, 2019https://github.com/python/cpython/pull/14071#issuecomment-501978444
@pablogsalhttps://github.com/pablogsal
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/14071
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.7 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.7%22
Jun 14, 2019https://github.com/python/cpython/pull/14071#event-2412628910
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jun 14, 2019https://github.com/python/cpython/pull/14071#issuecomment-501979099
GH-14073https://github.com/python/cpython/pull/14073
3.7 branchhttps://github.com/python/cpython/tree/3.7
Please reload this pagehttps://github.com/python/cpython/pull/14071
pablogsalhttps://github.com/pablogsal
Jun 14, 2019 https://github.com/python/cpython/pull/14071#ref-commit-49879e5
https://github.com/pablogsal
[3.7] bpo-37269: Correctly optimise conditionals with constant boolea…https://github.com/pablogsal/cpython/commit/49879e56555ec01425cbd98ef4599b9d5de71990
49879e5https://github.com/pablogsal/cpython/commit/49879e56555ec01425cbd98ef4599b9d5de71990
pythonGH-14071https://github.com/python/cpython/pull/14071
af8646chttps://github.com/pablogsal/cpython/commit/af8646c8054d0f4180a2013383039b6a472f9698
05f8318https://github.com/pablogsal/cpython/commit/05f831865545b08c9a21cfb7773af58b76ec64cb
miss-islingtonhttps://github.com/miss-islington
Jun 14, 2019 https://github.com/python/cpython/pull/14071#ref-commit-7cd581a
https://github.com/miss-islington
https://github.com/pablogsal
bpo-37269https://bugs.python.org/issue?@action=redirect&bpo=37269
: Correctly optimise conditionals with constant booleans (https://github.com/python/cpython/commit/7cd581a6bf82309b3c9b9251c54067d442732485
GH…https://github.com/python/cpython/pull/14071
7cd581ahttps://github.com/python/cpython/commit/7cd581a6bf82309b3c9b9251c54067d442732485
…-14071https://github.com/python/cpython/pull/14071
af8646chttps://github.com/python/cpython/commit/af8646c8054d0f4180a2013383039b6a472f9698
05f8318https://github.com/python/cpython/commit/05f831865545b08c9a21cfb7773af58b76ec64cb
pablogsalhttps://github.com/pablogsal
Jun 14, 2019 https://github.com/python/cpython/pull/14071#ref-commit-5292179
https://github.com/pablogsal
[3.7]https://github.com/python/cpython/commit/5292179afc6fd0dc533add054d4790773c9766d0
bpo-37269https://bugs.python.org/issue?@action=redirect&bpo=37269
: Correctly optimise conditionals with constant boolea…https://github.com/python/cpython/commit/5292179afc6fd0dc533add054d4790773c9766d0
5292179https://github.com/python/cpython/commit/5292179afc6fd0dc533add054d4790773c9766d0
GH-14071https://github.com/python/cpython/pull/14071
GH-14073https://github.com/python/cpython/pull/14073
af8646chttps://github.com/python/cpython/commit/af8646c8054d0f4180a2013383039b6a472f9698
05f8318https://github.com/python/cpython/commit/05f831865545b08c9a21cfb7773af58b76ec64cb
lisroachhttps://github.com/lisroach
Sep 10, 2019 https://github.com/python/cpython/pull/14071#ref-commit-03280bb
https://github.com/pablogsal
https://github.com/lisroach
bpo-37269: Correctly optimise conditionals with constant booleans (https://github.com/lisroach/cpython/commit/03280bb3f5ec064650610a3cc5da21a229d2b87a
py…https://github.com/python/cpython/pull/14071
03280bbhttps://github.com/lisroach/cpython/commit/03280bb3f5ec064650610a3cc5da21a229d2b87a
…thonGH-14071https://github.com/python/cpython/pull/14071
af8646chttps://github.com/lisroach/cpython/commit/af8646c8054d0f4180a2013383039b6a472f9698
DinoVhttps://github.com/DinoV
Jan 14, 2020 https://github.com/python/cpython/pull/14071#ref-commit-f69d6ad
https://github.com/pablogsal
https://github.com/DinoV
bpo-37269: Correctly optimise conditionals with constant booleans (https://github.com/DinoV/cpython/commit/f69d6adc5e2d6f639c9cd19d4b91573b98101217
py…https://github.com/python/cpython/pull/14071
f69d6adhttps://github.com/DinoV/cpython/commit/f69d6adc5e2d6f639c9cd19d4b91573b98101217
…thonGH-14071https://github.com/python/cpython/pull/14071
af8646chttps://github.com/DinoV/cpython/commit/af8646c8054d0f4180a2013383039b6a472f9698
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F14071
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
Please reload this pagehttps://github.com/python/cpython/pull/14071
https://github.com/pablogsal
https://github.com/miss-islington
https://github.com/bedevere-bot
https://github.com/the-knights-who-say-ni
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.