René's URL Explorer Experiment


Title: gh-131798: JIT: Propagate the result in `_BINARY_OP_SUBSCR_TUPLE_INT` by tomasr8 · Pull Request #133003 · python/cpython · GitHub

Open Graph Title: gh-131798: JIT: Propagate the result in `_BINARY_OP_SUBSCR_TUPLE_INT` by tomasr8 · Pull Request #133003 · python/cpython

X Title: gh-131798: JIT: Propagate the result in `_BINARY_OP_SUBSCR_TUPLE_INT` by tomasr8 · Pull Request #133003 · python/cpython

Description: More context: #132851 (comment) This propagates the information about tuple elements after _BINARY_OP_SUBSCR_TUPLE_INT when the RHS is a constant. For example in foo = (1, 2) x = foo[0] # _BINARY_...

Open Graph Description: More context: #132851 (comment) This propagates the information about tuple elements after _BINARY_OP_SUBSCR_TUPLE_INT when the RHS is a constant. For example in foo = (1, 2) x = foo[0] # _BINARY_...

X Description: More context: #132851 (comment) This propagates the information about tuple elements after _BINARY_OP_SUBSCR_TUPLE_INT when the RHS is a constant. For example in foo = (1, 2) x = foo[0] # _BINARY_...

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

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:53a6cbdc-d9f3-170d-c287-4fb491662db7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC0A4:DD6B:3CA7C40:520C6FF:6970843D
html-safe-nonce666e9de43a63fcfc2e5dfe1ac20e79d8fb1e36448846a21197965442146d11eb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMEE0OkRENkI6M0NBN0M0MDo1MjBDNkZGOjY5NzA4NDNEIiwidmlzaXRvcl9pZCI6IjQ5ODI1NDUzNDM3MTU1MDkzMDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb55f8f4985ad350c28ef9c311f21524c34512e0a7d628d5672bf139009fac10f
hovercard-subject-tagpull_request:2483124296
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/133003/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3a7da05c8e24adac9ff9f49fb2f46b05ef926483ac3fe5fbd6db85beb9e9fec7/python/cpython/pull/133003
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3a7da05c8e24adac9ff9f49fb2f46b05ef926483ac3fe5fbd6db85beb9e9fec7/python/cpython/pull/133003
og:image:altMore context: #132851 (comment) This propagates the information about tuple elements after _BINARY_OP_SUBSCR_TUPLE_INT when the RHS is a constant. For example in foo = (1, 2) x = foo[0] # _BINARY_...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametomasr8
hostnamegithub.com
expected-hostnamegithub.com
None9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2
turbo-cache-controlno-preview
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
release7d6181066430cc06553c8396ca201e194ae33cb9
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/133003#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F133003
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2F133003
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/133003
Reloadhttps://github.com/python/cpython/pull/133003
Reloadhttps://github.com/python/cpython/pull/133003
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/133003
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.2k 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 pagehttps://github.com/python/cpython/pull/133003
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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/133003#issue-comment-box
Fidget-Spinnerhttps://github.com/Fidget-Spinner
python:mainhttps://github.com/python/cpython/tree/main
tomasr8:jit-subscr-tuplehttps://github.com/tomasr8/cpython/tree/jit-subscr-tuple
gh-131798: JIT: Propagate the result in _BINARY_OP_SUBSCR_TUPLE_INT https://github.com/python/cpython/pull/133003#top
Fidget-Spinnerhttps://github.com/Fidget-Spinner
python:mainhttps://github.com/python/cpython/tree/main
tomasr8:jit-subscr-tuplehttps://github.com/tomasr8/cpython/tree/jit-subscr-tuple
Conversation 13 https://github.com/python/cpython/pull/133003
Commits 4 https://github.com/python/cpython/pull/133003/commits
Checks 60 https://github.com/python/cpython/pull/133003/checks
Files changed 4 https://github.com/python/cpython/pull/133003/files
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/tomasr8
tomasr8https://github.com/tomasr8
Apr 26, 2025https://github.com/python/cpython/pull/133003#issue-3021794235
Please reload this pagehttps://github.com/python/cpython/pull/133003
#132851 (comment)https://github.com/python/cpython/pull/132851#discussion_r2059146672
Better uop coverage in the JIT optimizer #131798https://github.com/python/cpython/issues/131798
Please reload this pagehttps://github.com/python/cpython/pull/133003
tomasr8https://github.com/tomasr8
April 26, 2025 14:01https://github.com/python/cpython/pull/133003#commits-pushed-c3cd21c
https://github.com/tomasr8
Make _BINARY_OP_SUBSCR_TUPLE_INT smarterhttps://github.com/python/cpython/pull/133003/commits/c3cd21c861a8850c4f42f5e1fde8e634a3ce4a06
c3cd21chttps://github.com/python/cpython/pull/133003/commits/c3cd21c861a8850c4f42f5e1fde8e634a3ce4a06
https://github.com/tomasr8
Add news entryhttps://github.com/python/cpython/pull/133003/commits/c7b7b484ba31e0c9952ade35299183e72f2b2658
c7b7b48https://github.com/python/cpython/pull/133003/commits/c7b7b484ba31e0c9952ade35299183e72f2b2658
https://github.com/tomasr8
tomasr8https://github.com/tomasr8
Fidget-Spinnerhttps://github.com/Fidget-Spinner
code ownerhttps://github.com/python/cpython/blob/7f02ded29fb0e7f4ee115b5be32a591ff7b449b8/.github/CODEOWNERS#L48
April 26, 2025 12:12https://github.com/python/cpython/pull/133003#event-17415964529
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Apr 26, 2025https://github.com/python/cpython/pull/133003#event-17415964632
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Apr 26, 2025 https://github.com/python/cpython/pull/133003#ref-issue-2953608211
Better uop coverage in the JIT optimizer #131798 https://github.com/python/cpython/issues/131798
https://github.com/tomasr8
tomasr8https://github.com/tomasr8
Apr 26, 2025 https://github.com/python/cpython/pull/133003#pullrequestreview-2795948436
View reviewed changes https://github.com/python/cpython/pull/133003/files/c7b7b484ba31e0c9952ade35299183e72f2b2658
Python/optimizer_bytecodes.chttps://github.com/python/cpython/pull/133003/files/c7b7b484ba31e0c9952ade35299183e72f2b2658#diff-e5bd2b14b0b10f0f47786e26306d689ed1361c3dc3b11dcc3ea52b8a2422ff64
tomasr8https://github.com/tomasr8
Apr 26, 2025https://github.com/python/cpython/pull/133003#discussion_r2061273357
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/133003
tomasr8https://github.com/tomasr8
Apr 26, 2025https://github.com/python/cpython/pull/133003#discussion_r2061499457
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/133003
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Apr 26, 2025https://github.com/python/cpython/pull/133003#discussion_r2061519291
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/133003
tomasr8https://github.com/tomasr8
Apr 26, 2025https://github.com/python/cpython/pull/133003#discussion_r2061521803
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/133003
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Apr 26, 2025 https://github.com/python/cpython/pull/133003#pullrequestreview-2796276712
View reviewed changes https://github.com/python/cpython/pull/133003/files/c7b7b484ba31e0c9952ade35299183e72f2b2658
Python/optimizer_bytecodes.chttps://github.com/python/cpython/pull/133003/files/c7b7b484ba31e0c9952ade35299183e72f2b2658#diff-e5bd2b14b0b10f0f47786e26306d689ed1361c3dc3b11dcc3ea52b8a2422ff64
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Apr 26, 2025https://github.com/python/cpython/pull/133003#discussion_r2061492839
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#132733https://github.com/python/cpython/pull/132733
Please reload this pagehttps://github.com/python/cpython/pull/133003
tomasr8https://github.com/tomasr8
Apr 26, 2025https://github.com/python/cpython/pull/133003#discussion_r2061498734
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/133003
tomasr8https://github.com/tomasr8
April 26, 2025 20:11https://github.com/python/cpython/pull/133003#commits-pushed-dddd56f
https://github.com/tomasr8
Fix a case when the tuple length is not knownhttps://github.com/python/cpython/pull/133003/commits/dddd56ff271e69215bea67516a88d3dfe99b5db7
dddd56fhttps://github.com/python/cpython/pull/133003/commits/dddd56ff271e69215bea67516a88d3dfe99b5db7
https://github.com/tomasr8
Keep the same names for stack variableshttps://github.com/python/cpython/pull/133003/commits/00b00cbfe82d95ec15ad0945c83a3553646538a0
00b00cbhttps://github.com/python/cpython/pull/133003/commits/00b00cbfe82d95ec15ad0945c83a3553646538a0
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Apr 26, 2025 https://github.com/python/cpython/pull/133003#pullrequestreview-2796343458
View reviewed changes https://github.com/python/cpython/pull/133003/files/00b00cbfe82d95ec15ad0945c83a3553646538a0
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Apr 26, 2025https://github.com/python/cpython/pull/133003#event-17418130662
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
5e96e4fhttps://github.com/python/cpython/commit/5e96e4fca80a8cd25da6b469b25f8f5a514de8be
Apr 26, 2025https://github.com/python/cpython/pull/133003#event-17418131684
Please reload this pagehttps://github.com/python/cpython/pull/133003
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Apr 26, 2025https://github.com/python/cpython/pull/133003#event-17418131801
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Apr 26, 2025https://github.com/python/cpython/pull/133003#issuecomment-2832521231
Please reload this pagehttps://github.com/python/cpython/pull/133003
https://github.com/tomasr8
tomasr8https://github.com/tomasr8
April 26, 2025 19:15https://github.com/python/cpython/pull/133003#event-17418221607
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
May 6, 2025 https://github.com/python/cpython/pull/133003#pullrequestreview-2819556890
View reviewed changes https://github.com/python/cpython/pull/133003/files/00b00cbfe82d95ec15ad0945c83a3553646538a0
Python/optimizer_bytecodes.chttps://github.com/python/cpython/pull/133003/files/00b00cbfe82d95ec15ad0945c83a3553646538a0#diff-e5bd2b14b0b10f0f47786e26306d689ed1361c3dc3b11dcc3ea52b8a2422ff64
brandtbucherhttps://github.com/brandtbucher
May 6, 2025https://github.com/python/cpython/pull/133003#discussion_r2076228517
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@tomasr8https://github.com/tomasr8
Please reload this pagehttps://github.com/python/cpython/pull/133003
tomasr8https://github.com/tomasr8
May 8, 2025https://github.com/python/cpython/pull/133003#discussion_r2080171065
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@brandtbucherhttps://github.com/brandtbucher
Please reload this pagehttps://github.com/python/cpython/pull/133003
brandtbucherhttps://github.com/brandtbucher
May 8, 2025https://github.com/python/cpython/pull/133003#discussion_r2080198607
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/133003
brandtbucherhttps://github.com/brandtbucher
May 8, 2025https://github.com/python/cpython/pull/133003#discussion_r2080199534
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/133003
tomasr8https://github.com/tomasr8
May 8, 2025https://github.com/python/cpython/pull/133003#discussion_r2080432862
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/133003
https://github.com/tomasr8
tomasr8https://github.com/tomasr8
May 10, 2025 https://github.com/python/cpython/pull/133003#pullrequestreview-2831057570
View reviewed changes https://github.com/python/cpython/pull/133003/files/00b00cbfe82d95ec15ad0945c83a3553646538a0
Python/optimizer_bytecodes.chttps://github.com/python/cpython/pull/133003/files/00b00cbfe82d95ec15ad0945c83a3553646538a0#diff-e5bd2b14b0b10f0f47786e26306d689ed1361c3dc3b11dcc3ea52b8a2422ff64
tomasr8https://github.com/tomasr8
May 10, 2025https://github.com/python/cpython/pull/133003#discussion_r2083281316
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@brandtbucherhttps://github.com/brandtbucher
previous discussionhttps://github.com/python/cpython/pull/133003/files#r2080198607
Please reload this pagehttps://github.com/python/cpython/pull/133003
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%2F133003
https://github.com/brandtbucher
brandtbucher https://github.com/brandtbucher
https://github.com/python/cpython/pull/133003/files/00b00cbfe82d95ec15ad0945c83a3553646538a0
https://github.com/Fidget-Spinner
Fidget-Spinner https://github.com/Fidget-Spinner
https://github.com/python/cpython/pull/133003/files/00b00cbfe82d95ec15ad0945c83a3553646538a0
Please reload this pagehttps://github.com/python/cpython/pull/133003
https://github.com/tomasr8
https://github.com/Fidget-Spinner
https://github.com/brandtbucher
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.