| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4a905554-c5f0-4a50-42c1-2f6261a5636b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 89FC:3F4FF7:6145B5:7EAD15:696B4760 |
| html-safe-nonce | 7818ce03e6cd91aa60e7cf18c2a59ea831d295862a68e28ab55be863aefca450 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OUZDOjNGNEZGNzo2MTQ1QjU6N0VBRDE1OjY5NkI0NzYwIiwidmlzaXRvcl9pZCI6IjM3MTA1ODE4ODQxMjc0OTYwMzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4f22254da63a0482d7c8ab79ea1da40a8d0710fb98785a1e7527058e2a09c651 |
| hovercard-subject-tag | pull_request:776095586 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/29482/files |
| twitter:image | https://avatars.githubusercontent.com/u/40968415?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40968415?s=400&v=4 |
| og:image:alt | This merges all numeric BINARY_* and INPLACE_* instructions into one BINARY_OP instruction. As a consequence, the BINARY_ADD and BINARY_MULTIPLY specialization families are merged into a new BINARY... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/29482/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F29482%2Ffiles |
| 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%2F29482%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 |
| Reload | https://github.com/python/cpython/pull/29482/files |
| Reload | https://github.com/python/cpython/pull/29482/files |
| Reload | https://github.com/python/cpython/pull/29482/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/29482/files |
|
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/29482/files |
|
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 |
| brandtbucher | https://github.com/brandtbucher |
| python:main | https://github.com/python/cpython/tree/main |
| brandtbucher:binary-op-unified | https://github.com/brandtbucher/cpython/tree/binary-op-unified |
|
Conversation
19
| https://github.com/python/cpython/pull/29482 |
|
Commits
18
| https://github.com/python/cpython/pull/29482/commits |
|
Checks
0
| https://github.com/python/cpython/pull/29482/checks |
|
Files changed
| https://github.com/python/cpython/pull/29482/files |
| Please reload this page | https://github.com/python/cpython/pull/29482/files |
|
bpo-45636: BINARY_OP (third time's the charm)
| https://github.com/python/cpython/pull/29482/files#top |
|
Show all changes
18 commits
| https://github.com/python/cpython/pull/29482/files |
|
4b7125f
Merge BINARY_*/INPLACE_* into BINARY_OP/INPLACE_OP
brandtbucher Oct 27, 2021
| https://github.com/python/cpython/pull/29482/commits/4b7125f331c91c3da37fc0586d2a74ca618f4c83 |
|
3a87083
Clean things up a bit
brandtbucher Oct 27, 2021
| https://github.com/python/cpython/pull/29482/commits/3a870838f396f8d4b5b3a79e44ed1c4bd9f0ad76 |
|
a2df29a
Improve the new _PyNumber_*Op implementations
brandtbucher Oct 27, 2021
| https://github.com/python/cpython/pull/29482/commits/a2df29ae881bb1acc0c9196ed29187644e02cad0 |
|
1b8934e
Add docs
brandtbucher Oct 27, 2021
| https://github.com/python/cpython/pull/29482/commits/1b8934ebc3972d5ccbe8c034d6dca07402857057 |
|
3137973
blurb add
brandtbucher Oct 27, 2021
| https://github.com/python/cpython/pull/29482/commits/3137973801729fef3d118418c90caf65b29348e0 |
|
9905549
Fix API leak
brandtbucher Oct 27, 2021
| https://github.com/python/cpython/pull/29482/commits/99055496e84a44e7e2f3943c5306f023807f955f |
|
f697036
Clean up the nb_info struct
brandtbucher Oct 28, 2021
| https://github.com/python/cpython/pull/29482/commits/f6970361d8cf80000a08e4e6c7d809bd439c8874 |
|
33f6e7c
Clean up some comments
brandtbucher Oct 28, 2021
| https://github.com/python/cpython/pull/29482/commits/33f6e7c50a48b04810ed5bd57345652041dc102d |
|
f9e388b
Truly unify all binary ops
brandtbucher Nov 5, 2021
| https://github.com/python/cpython/pull/29482/commits/f9e388b33183ab358592f2a9982e6547756725c5 |
|
f5b1923
Fix BINARY_OP stats
brandtbucher Nov 6, 2021
| https://github.com/python/cpython/pull/29482/commits/f5b192360c12e351d9b5796f6d20115a11d87ccb |
|
2a8072c
Don't defer operators that can't be specialized
brandtbucher Nov 6, 2021
| https://github.com/python/cpython/pull/29482/commits/2a8072c745343e2d5ede326fd34a7b5b8c470ebe |
|
6c6b78f
Remove some old changes
brandtbucher Nov 8, 2021
| https://github.com/python/cpython/pull/29482/commits/6c6b78f5cc63e9ab587f60b36ae5a6172cf9a242 |
|
51c4b5f
Clarify behavior for non-specializing operators
brandtbucher Nov 8, 2021
| https://github.com/python/cpython/pull/29482/commits/51c4b5f999b07ab1cd7c3267d8650d60ff642590 |
|
f0d2056
Clean up dis.py a bit
brandtbucher Nov 8, 2021
| https://github.com/python/cpython/pull/29482/commits/f0d2056d30e25b0c94c93ad9675bc389e93972e6 |
|
45e8502
Remove trailing whitespace
brandtbucher Nov 9, 2021
| https://github.com/python/cpython/pull/29482/commits/45e8502ca5393f2e2ba3e6af8e0834193abc8a78 |
|
8d23dad
Apply feedback from code review
brandtbucher Nov 10, 2021
| https://github.com/python/cpython/pull/29482/commits/8d23dada412c9f0684e2a585bd6315bf5fee9f93 |
|
490b8da
Merge branch 'binary-op-unified' of github.com:brandtbucher/cpython i…
brandtbucher Nov 10, 2021
| https://github.com/python/cpython/pull/29482/commits/490b8da11ba2825a9e427b31f9c40e36faa4ee51 |
|
bea2cff
Fix a refleak during error handling
brandtbucher Nov 10, 2021
| https://github.com/python/cpython/pull/29482/commits/bea2cff70fd29adadbff9b7c5b841a8b6e8671dc |
|
Clear filters
| https://github.com/python/cpython/pull/29482/files |
| Please reload this page | https://github.com/python/cpython/pull/29482/files |
| Please reload this page | https://github.com/python/cpython/pull/29482/files |
|
dis.rst
| https://github.com/python/cpython/pull/29482/files#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653b |
|
3.11.rst
| https://github.com/python/cpython/pull/29482/files#diff-78f24041d66ab8ed2ae1aee94bcd42396d27af833cb96a3c506294c6d6dce82d |
|
pycore_code.h
| https://github.com/python/cpython/pull/29482/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8 |
|
opcode.h
| https://github.com/python/cpython/pull/29482/files#diff-1cd1f0bb26c3fbaa279f83ee2bfe1d9072da7af07407111c79039c66034c57ed |
|
dis.py
| https://github.com/python/cpython/pull/29482/files#diff-96747735ee3c8aed3dd0f4c1b1ab0310eeb344577b14887cc9f6605892df47a8 |
|
_bootstrap_external.py
| https://github.com/python/cpython/pull/29482/files#diff-efefe383b3a81d16150c280db0b64eed7569254299418f64cc0d749f8e16f3a4 |
|
opcode.py
| https://github.com/python/cpython/pull/29482/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb |
|
test_compile.py
| https://github.com/python/cpython/pull/29482/files#diff-c69ceae0611c40012b4691e3536bf17efacdb5b51b8e155eec9a939108e42e43 |
|
test_dis.py
| https://github.com/python/cpython/pull/29482/files#diff-fd7b118a01a9695dfa16eea9381d3c7b0652e1b7b55f51ff052a1f620d175642 |
|
test_peepholer.py
| https://github.com/python/cpython/pull/29482/files#diff-bcf92ed219340e9e0c52401909828c2e9a821541660073e24d64dd996beaf842 |
|
2021-10-27-15-14-31.bpo-45636.K2X7QS.rst
| https://github.com/python/cpython/pull/29482/files#diff-b4d578e703013b331b42ee3c8794ec500f149d7f2cdc9a61458c19ca559e3b78 |
|
ceval.c
| https://github.com/python/cpython/pull/29482/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
|
compile.c
| https://github.com/python/cpython/pull/29482/files#diff-ebc983d9f91e5bcf73500e377ac65e85863c4f77fd5b6b6caf4fcdf7c0f0b057 |
|
opcode_targets.h
| https://github.com/python/cpython/pull/29482/files#diff-d3363a4083b77b9157d0bf07c2e87f3d3464a8b4360d5d23b07bbb23061f007a |
|
specialize.c
| https://github.com/python/cpython/pull/29482/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2 |
|
generate_opcode_h.py
| https://github.com/python/cpython/pull/29482/files#diff-f2b596fb7fb42d227352f57250a838053040ad46014d62a910542a9f3faa3e25 |
| Doc/library/dis.rst | https://github.com/python/cpython/pull/29482/files#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653b |
|
View file
| https://github.com/brandtbucher/cpython/blob/bea2cff70fd29adadbff9b7c5b841a8b6e8671dc/Doc/library/dis.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29482/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/29482/files#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653b |
|
| https://github.com/python/cpython/pull/29482/files#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653b |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L114 |
| Doc/whatsnew/3.11.rst | https://github.com/python/cpython/pull/29482/files#diff-78f24041d66ab8ed2ae1aee94bcd42396d27af833cb96a3c506294c6d6dce82d |
|
View file
| https://github.com/brandtbucher/cpython/blob/bea2cff70fd29adadbff9b7c5b841a8b6e8671dc/Doc/whatsnew/3.11.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29482/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/29482/files#diff-78f24041d66ab8ed2ae1aee94bcd42396d27af833cb96a3c506294c6d6dce82d |
|
| https://github.com/python/cpython/pull/29482/files#diff-78f24041d66ab8ed2ae1aee94bcd42396d27af833cb96a3c506294c6d6dce82d |
| Include/internal/pycore_code.h | https://github.com/python/cpython/pull/29482/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8 |
|
View file
| https://github.com/brandtbucher/cpython/blob/bea2cff70fd29adadbff9b7c5b841a8b6e8671dc/Include/internal/pycore_code.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29482/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/29482/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8 |
|
| https://github.com/python/cpython/pull/29482/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8 |
| Please reload this page | https://github.com/python/cpython/pull/29482/files |
|
| 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 |