René's URL Explorer Experiment


Title: bpo-46372: Try to mutate the LHS during fast `float` ops by brandtbucher · Pull Request #30594 · python/cpython · GitHub

Open Graph Title: bpo-46372: Try to mutate the LHS during fast `float` ops by brandtbucher · Pull Request #30594 · python/cpython

X Title: bpo-46372: Try to mutate the LHS during fast `float` ops by brandtbucher · Pull Request #30594 · python/cpython

Description: This modifies the existing int and float specializations to mutate the LHS operand in-place when possible. It also unifies the implementations of all of these operations. https://bugs.python.org/issue46372

Open Graph Description: This modifies the existing int and float specializations to mutate the LHS operand in-place when possible. It also unifies the implementations of all of these operations. https://bugs.python.org/i...

X Description: This modifies the existing int and float specializations to mutate the LHS operand in-place when possible. It also unifies the implementations of all of these operations. https://bugs.python.org/i...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d8e48b97-c657-5b88-a156-56ceaef2fd58
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA900:1B53EB:47282:5EE27:6A526913
html-safe-nonce8e43cb0f479df13cca2e62cdbb8f1cb9fc7943b2a488c56efb7c46c4eb7ed9f4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTAwOjFCNTNFQjo0NzI4Mjo1RUUyNzo2QTUyNjkxMyIsInZpc2l0b3JfaWQiOiI0NDU2OTM3NDk4MTMyNzY5MDQzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacfef9a6cadb9a734f39fb406aa9ddab8d8ee0380c9560999a5f88e3656a3e48bd
hovercard-subject-tagpull_request:822196816
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/30594/files
twitter:imagehttps://avatars.githubusercontent.com/u/40968415?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40968415?s=400&v=4
og:image:altThis modifies the existing int and float specializations to mutate the LHS operand in-place when possible. It also unifies the implementations of all of these operations. https://bugs.python.org/i...
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/30594/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F30594%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%2F30594%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/30594/files
Reloadhttps://github.com/python/cpython/pull/30594/files
Reloadhttps://github.com/python/cpython/pull/30594/files
Please reload this pagehttps://github.com/python/cpython/pull/30594/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/30594/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
brandtbucherhttps://github.com/brandtbucher
python:mainhttps://github.com/python/cpython/tree/main
brandtbucher:inplace-opshttps://github.com/brandtbucher/cpython/tree/inplace-ops
Conversation 35 https://github.com/python/cpython/pull/30594
Commits 18 https://github.com/python/cpython/pull/30594/commits
Checks 0 https://github.com/python/cpython/pull/30594/checks
Files changed https://github.com/python/cpython/pull/30594/files
Please reload this pagehttps://github.com/python/cpython/pull/30594/files
bpo-46372: Try to mutate the LHS during fast float ops https://github.com/python/cpython/pull/30594/files#top
Show all changes 18 commits https://github.com/python/cpython/pull/30594/files
cf64e13 Perform specialized ops in-place when possible brandtbucher Jan 11, 2022 https://github.com/python/cpython/pull/30594/commits/cf64e13f20a9598db72c19a6479aab24f77a52eb
5e49a13 Break out common logic brandtbucher Jan 12, 2022 https://github.com/python/cpython/pull/30594/commits/5e49a13266710b0a947286cd2ede26a33927ac39
f7187d9 Clean things up a bit brandtbucher Jan 12, 2022 https://github.com/python/cpython/pull/30594/commits/f7187d9133fa8a6e178b37a03da0ebdbca26792f
dd19cec Clean up macro brandtbucher Jan 12, 2022 https://github.com/python/cpython/pull/30594/commits/dd19cec5823bf21da799dc4dc5f292f279648aa8
78cc5c4 Simplify the "small" int case brandtbucher Jan 13, 2022 https://github.com/python/cpython/pull/30594/commits/78cc5c44070fa7e524f7482630e1c1efd3e12cc0
218b10b blurb add brandtbucher Jan 14, 2022 https://github.com/python/cpython/pull/30594/commits/218b10b3f03f87d71449d9f616a88bc7a3f4b3a5
505fd8e Catch up with main brandtbucher Jan 18, 2022 https://github.com/python/cpython/pull/30594/commits/505fd8eb6f80f9d77be7c8fbcd56c7aad912adf1
6b4cc6d Apply first round of code revew comments brandtbucher Jan 18, 2022 https://github.com/python/cpython/pull/30594/commits/6b4cc6dabf5e0350ea62aa874e625add8da2eca3
f21a813 Fix 32-bit Windows errrors brandtbucher Jan 19, 2022 https://github.com/python/cpython/pull/30594/commits/f21a813316eeb7e51d169c98bbfff16c71dc10db
d6a69d5 Perform the inplace checks when specializing brandtbucher Jan 19, 2022 https://github.com/python/cpython/pull/30594/commits/d6a69d583422a7e9b38d6e5b893572b22c9245fb
f11cf6d Remove duplicate code brandtbucher Jan 19, 2022 https://github.com/python/cpython/pull/30594/commits/f11cf6d27888aa2fe8ce2e30cb95a54bcc41be17
b6f041a Simplify things further brandtbucher Jan 19, 2022 https://github.com/python/cpython/pull/30594/commits/b6f041ace69641d70dddabb86508ba47f55efc93
eb586b1 Remove int and refcount == 2 optimizations brandtbucher Jan 19, 2022 https://github.com/python/cpython/pull/30594/commits/eb586b1d07fe129ed5845f8753d461afd35f0c4b
def9c64 Catch up with main brandtbucher Jan 21, 2022 https://github.com/python/cpython/pull/30594/commits/def9c64dd9f48570fbfe35a8372979f5458dccd5
6e262ba Revert int changes brandtbucher Jan 24, 2022 https://github.com/python/cpython/pull/30594/commits/6e262ba3d35922b2b4226ba0ace8559a706c8564
37fab55 Catch up with main brandtbucher Jan 28, 2022 https://github.com/python/cpython/pull/30594/commits/37fab55bd8f8fcd679d2fa9cc9b481b0ada03e56
04f186c Add the "adaptive superinstructions" back brandtbucher Feb 1, 2022 https://github.com/python/cpython/pull/30594/commits/04f186ce7f8390d7053014fd20f97243d4c6b595
e0d0042 Catch up with main brandtbucher Feb 1, 2022 https://github.com/python/cpython/pull/30594/commits/e0d004266a2bd8c576abe57fe922637eb09bf334
Clear filters https://github.com/python/cpython/pull/30594/files
Please reload this pagehttps://github.com/python/cpython/pull/30594/files
Please reload this pagehttps://github.com/python/cpython/pull/30594/files
opcode.h https://github.com/python/cpython/pull/30594/files#diff-1cd1f0bb26c3fbaa279f83ee2bfe1d9072da7af07407111c79039c66034c57ed
opcode.py https://github.com/python/cpython/pull/30594/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb
2022-01-13-22-50-49.bpo-46372.b00Vdn.rst https://github.com/python/cpython/pull/30594/files#diff-5a48227d71da8a6969d7aaf96811959a8388b22dbbf9a276089b79054e872266
ceval.c https://github.com/python/cpython/pull/30594/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
opcode_targets.h https://github.com/python/cpython/pull/30594/files#diff-d3363a4083b77b9157d0bf07c2e87f3d3464a8b4360d5d23b07bbb23061f007a
specialize.c https://github.com/python/cpython/pull/30594/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
Include/opcode.hhttps://github.com/python/cpython/pull/30594/files#diff-1cd1f0bb26c3fbaa279f83ee2bfe1d9072da7af07407111c79039c66034c57ed
View file https://github.com/brandtbucher/cpython/blob/e0d004266a2bd8c576abe57fe922637eb09bf334/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/30594/files
Lib/opcode.pyhttps://github.com/python/cpython/pull/30594/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb
View file https://github.com/brandtbucher/cpython/blob/e0d004266a2bd8c576abe57fe922637eb09bf334/Lib/opcode.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/30594/{{ revealButtonHref }}
https://github.com/python/cpython/pull/30594/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb
https://github.com/python/cpython/pull/30594/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb
Misc/NEWS.d/next/Core and Builtins/2022-01-13-22-50-49.bpo-46372.b00Vdn.rsthttps://github.com/python/cpython/pull/30594/files#diff-5a48227d71da8a6969d7aaf96811959a8388b22dbbf9a276089b79054e872266
View file https://github.com/brandtbucher/cpython/blob/e0d004266a2bd8c576abe57fe922637eb09bf334/Misc/NEWS.d/next/Core%20and%20Builtins/2022-01-13-22-50-49.bpo-46372.b00Vdn.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/30594/{{ revealButtonHref }}
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L226
Python/ceval.chttps://github.com/python/cpython/pull/30594/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
View file https://github.com/brandtbucher/cpython/blob/e0d004266a2bd8c576abe57fe922637eb09bf334/Python/ceval.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/30594/{{ revealButtonHref }}
https://github.com/python/cpython/pull/30594/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
markshannonhttps://github.com/markshannon
Feb 10, 2022https://github.com/python/cpython/pull/30594/files#r803896705
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/30594/files
brandtbucherhttps://github.com/brandtbucher
Feb 11, 2022https://github.com/python/cpython/pull/30594/files#r804309219
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/30594/files
https://github.com/python/cpython/pull/30594/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/30594/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/30594/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/30594/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/30594/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/30594/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
Python/opcode_targets.hhttps://github.com/python/cpython/pull/30594/files#diff-d3363a4083b77b9157d0bf07c2e87f3d3464a8b4360d5d23b07bbb23061f007a
View file https://github.com/brandtbucher/cpython/blob/e0d004266a2bd8c576abe57fe922637eb09bf334/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/30594/files
Please reload this pagehttps://github.com/python/cpython/pull/30594/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.