René's URL Explorer Experiment


Title: bpo-26280: Port BINARY_SUBSCR to PEP 659 adaptive interpreter by iritkatriel · Pull Request #27043 · python/cpython · GitHub

Open Graph Title: bpo-26280: Port BINARY_SUBSCR to PEP 659 adaptive interpreter by iritkatriel · Pull Request #27043 · python/cpython

X Title: bpo-26280: Port BINARY_SUBSCR to PEP 659 adaptive interpreter by iritkatriel · Pull Request #27043 · python/cpython

Description: https://bugs.python.org/issue26280

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

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

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5afda199-5793-f229-fd79-a88a258a4673
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9AAA:18AAA8:1A0DE2F:23AACFF:6A53FB6F
html-safe-nonceba9eb1aa9943e604b4f1aed638a433f2ebb9ded13ddaf25e540eef1ca6b8342e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUFBOjE4QUFBODoxQTBERTJGOjIzQUFDRkY6NkE1M0ZCNkYiLCJ2aXNpdG9yX2lkIjoiMTAwMDI1NzcxNDE5MzE2OTI2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9bdc46a70e9cb78f7dff39742dbf6563214e0d0f10b273e4211b5f749eb77196
hovercard-subject-tagpull_request:683962985
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/27043/files
twitter:imagehttps://avatars.githubusercontent.com/u/1055913?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1055913?s=400&v=4
og:image:althttps://bugs.python.org/issue26280
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/27043/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F27043%2Ffiles
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%2F27043%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
Reloadhttps://github.com/python/cpython/pull/27043/files
Reloadhttps://github.com/python/cpython/pull/27043/files
Reloadhttps://github.com/python/cpython/pull/27043/files
Please reload this pagehttps://github.com/python/cpython/pull/27043/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/27043/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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
iritkatriel:bpo-26280https://github.com/iritkatriel/cpython/tree/bpo-26280
Conversation 97 https://github.com/python/cpython/pull/27043
Commits 23 https://github.com/python/cpython/pull/27043/commits
Checks 0 https://github.com/python/cpython/pull/27043/checks
Files changed https://github.com/python/cpython/pull/27043/files
Please reload this pagehttps://github.com/python/cpython/pull/27043/files
bpo-26280: Port BINARY_SUBSCR to PEP 659 adaptive interpreter https://github.com/python/cpython/pull/27043/files#top
Show all changes 23 commits https://github.com/python/cpython/pull/27043/files
ed1b0f4 bpo-26280: Port BINARY_SUBSCR to PEP 659 adaptive interpreter iritkatriel Jul 5, 2021 https://github.com/python/cpython/pull/27043/commits/ed1b0f49570e2f843f3ce2639ea7d6d17f323e83
99219b0 POP() -->STACK_SHRINK(1) iritkatriel Jul 6, 2021 https://github.com/python/cpython/pull/27043/commits/99219b0a9ad39d3f6d67a34725169f830c499b89
f051c19 revert change to MAGIC_NUMBER iritkatriel Jul 7, 2021 https://github.com/python/cpython/pull/27043/commits/f051c194df982004d3b41f37903b5fb5dd38ac45
6401da8 add STAT_INCs iritkatriel Jul 7, 2021 https://github.com/python/cpython/pull/27043/commits/6401da8f59b37d94d2ac00ff30c465741aed219b
95f85d2 use unchecked GET_ITEM iritkatriel Jul 7, 2021 https://github.com/python/cpython/pull/27043/commits/95f85d20291cace0e47d8cf75ae2dc632911627a
f6337be add SPECIALIZATION_FAIL stats iritkatriel Jul 7, 2021 https://github.com/python/cpython/pull/27043/commits/f6337bef245bcd96da8207e1b36e372c8608b863
dc45cac print BINARY_SUBSCR stats iritkatriel Jul 7, 2021 https://github.com/python/cpython/pull/27043/commits/dc45cac198f4625c5b7096dacc66a98107766388
09f8c50 fix SPECIALIZATION_FAIL iritkatriel Jul 7, 2021 https://github.com/python/cpython/pull/27043/commits/09f8c509aeffeb487780a337182e25aed405ac4a
1efce2e optimise bytemode implementations iritkatriel Jul 8, 2021 https://github.com/python/cpython/pull/27043/commits/1efce2e4f7f51be4655656a3bf61da7aaed5923d
d32bfc9 more precise opcode and label names. Added (currently redundant) goto… iritkatriel Jul 13, 2021 https://github.com/python/cpython/pull/27043/commits/d32bfc9cbc198d86e9622fd9cad50806d1e7857a
ccaea79 remove redundant null check iritkatriel Jul 13, 2021 https://github.com/python/cpython/pull/27043/commits/ccaea796bd6fa58612235e9525766aef8c424990
b40bfb7 check container type more efficiently iritkatriel Jul 13, 2021 https://github.com/python/cpython/pull/27043/commits/b40bfb721d0804bbbd57b84f196d80a0d60de248
61fa932 use oparg as the adaptive cache counter for BINARY_SUBSCR iritkatriel Jul 13, 2021 https://github.com/python/cpython/pull/27043/commits/61fa932f7ec7fc6b5df75ec10e91ba4ebecdff7c
289f7be avoid PyLong_AsSsize_t for index bounds check iritkatriel Jul 14, 2021 https://github.com/python/cpython/pull/27043/commits/289f7be201dcf754cacac8f858de5a7378fc58e0
2f4d359 update Python/importlib_external.h iritkatriel Jul 14, 2021 https://github.com/python/cpython/pull/27043/commits/2f4d35984b100805b3653c6b87b4e96859fdc41a
1a2c302 📜🤖 Added by blurb_it. blurb-it[bot] Jul 14, 2021 https://github.com/python/cpython/pull/27043/commits/1a2c302dcf9923ec92ff4d9bc9708fd5d5ca4aa2
5b2e3f9 revert change to adptive cache functions api iritkatriel Jul 14, 2021 https://github.com/python/cpython/pull/27043/commits/5b2e3f98aa322ac3d6fd05069a9a7f1cf40963f1
4f909d6 add missing include iritkatriel Jul 14, 2021 https://github.com/python/cpython/pull/27043/commits/4f909d646184a405f996ee14790bc76b3fc0ef3c
a863a3d added UPDATE_PREV_INSTR_OPARG macro and use it to control the oparg c… iritkatriel Jul 14, 2021 https://github.com/python/cpython/pull/27043/commits/a863a3dc1794bfc296ddd4d1c58ccf28403a22fc
c30a188 use the full weird sign check iritkatriel Jul 14, 2021 https://github.com/python/cpython/pull/27043/commits/c30a188a503120fecd7590ba333dff18001863b1
d5b0f32 revert unintended change to magic number iritkatriel Jul 14, 2021 https://github.com/python/cpython/pull/27043/commits/d5b0f32e851ce4596650fe199ec86b524928bf8b
a9c9851 update Python/importlib_external.h iritkatriel Jul 14, 2021 https://github.com/python/cpython/pull/27043/commits/a9c9851f356f22f2b2215d2070e2235559af7bd9
19cdf02 _Size --> _GET_SIZE iritkatriel Jul 15, 2021 https://github.com/python/cpython/pull/27043/commits/19cdf02d735c0a673beac8e33296cd2657894189
Clear filters https://github.com/python/cpython/pull/27043/files
Please reload this pagehttps://github.com/python/cpython/pull/27043/files
Please reload this pagehttps://github.com/python/cpython/pull/27043/files
pycore_code.h https://github.com/python/cpython/pull/27043/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8
opcode.h https://github.com/python/cpython/pull/27043/files#diff-1cd1f0bb26c3fbaa279f83ee2bfe1d9072da7af07407111c79039c66034c57ed
opcode.py https://github.com/python/cpython/pull/27043/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb
2021-07-14-10-31-10.bpo-26280.cgpM4B.rst https://github.com/python/cpython/pull/27043/files#diff-286dc86ecca7b808759cda5dea5f3d5ae19157d72cd131ea0aa819f336d10d7e
ceval.c https://github.com/python/cpython/pull/27043/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
opcode_targets.h https://github.com/python/cpython/pull/27043/files#diff-d3363a4083b77b9157d0bf07c2e87f3d3464a8b4360d5d23b07bbb23061f007a
specialize.c https://github.com/python/cpython/pull/27043/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
Include/internal/pycore_code.hhttps://github.com/python/cpython/pull/27043/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8
View file https://github.com/iritkatriel/cpython/blob/19cdf02d735c0a673beac8e33296cd2657894189/Include/internal/pycore_code.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/27043/{{ revealButtonHref }}
https://github.com/python/cpython/pull/27043/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8
markshannonhttps://github.com/markshannon
Jul 15, 2021https://github.com/python/cpython/pull/27043/files#r670337205
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/27043/files
https://github.com/python/cpython/pull/27043/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8
Include/opcode.hhttps://github.com/python/cpython/pull/27043/files#diff-1cd1f0bb26c3fbaa279f83ee2bfe1d9072da7af07407111c79039c66034c57ed
View file https://github.com/iritkatriel/cpython/blob/19cdf02d735c0a673beac8e33296cd2657894189/Include/opcode.h
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/27043/files
Lib/opcode.pyhttps://github.com/python/cpython/pull/27043/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb
View file https://github.com/iritkatriel/cpython/blob/19cdf02d735c0a673beac8e33296cd2657894189/Lib/opcode.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/27043/{{ revealButtonHref }}
https://github.com/python/cpython/pull/27043/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb
https://github.com/python/cpython/pull/27043/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb
Misc/NEWS.d/next/Core and Builtins/2021-07-14-10-31-10.bpo-26280.cgpM4B.rsthttps://github.com/python/cpython/pull/27043/files#diff-286dc86ecca7b808759cda5dea5f3d5ae19157d72cd131ea0aa819f336d10d7e
View file https://github.com/iritkatriel/cpython/blob/19cdf02d735c0a673beac8e33296cd2657894189/Misc/NEWS.d/next/Core%20and%20Builtins/2021-07-14-10-31-10.bpo-26280.cgpM4B.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/27043/{{ revealButtonHref }}
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L226
Python/ceval.chttps://github.com/python/cpython/pull/27043/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
View file https://github.com/iritkatriel/cpython/blob/19cdf02d735c0a673beac8e33296cd2657894189/Python/ceval.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/27043/{{ revealButtonHref }}
https://github.com/python/cpython/pull/27043/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/27043/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/27043/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/27043/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/27043/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/27043/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
Please reload this pagehttps://github.com/python/cpython/pull/27043/files
https://github.com/python/cpython/pull/27043/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/27043/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/27043/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
Python/opcode_targets.hhttps://github.com/python/cpython/pull/27043/files#diff-d3363a4083b77b9157d0bf07c2e87f3d3464a8b4360d5d23b07bbb23061f007a
View file https://github.com/iritkatriel/cpython/blob/19cdf02d735c0a673beac8e33296cd2657894189/Python/opcode_targets.h
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/27043/files
Python/specialize.chttps://github.com/python/cpython/pull/27043/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
View file https://github.com/iritkatriel/cpython/blob/19cdf02d735c0a673beac8e33296cd2657894189/Python/specialize.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/27043/{{ revealButtonHref }}
https://github.com/python/cpython/pull/27043/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
https://github.com/python/cpython/pull/27043/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
https://github.com/python/cpython/pull/27043/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
https://github.com/python/cpython/pull/27043/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
https://github.com/python/cpython/pull/27043/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
https://github.com/python/cpython/pull/27043/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
https://github.com/python/cpython/pull/27043/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
https://github.com/python/cpython/pull/27043/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
Please reload this pagehttps://github.com/python/cpython/pull/27043/files
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.