FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-46841: Fix `BINARY_OP`'s handling of inline caches by brandtbucher · Pull Request #31671 · python/cpython · GitHub

/ cpython Public

bpo-46841: Fix BINARY_OP's handling of inline caches - #31671

Merged
brandtbucher merged 2 commits into
python:mainfrom
brandtbucher:binary-op-fix
Mar 4, 2022
Merged

bpo-46841: Fix BINARY_OP's handling of inline caches#31671
brandtbucher merged 2 commits into
python:mainfrom
brandtbucher:binary-op-fix

Conversation

brandtbucher commented Mar 3, 2022
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

Copy link
Copy Markdown
Member

Changes LGTM.

OOI, how did you find this?

Would it be feasible to add a regression test?

Copy link
Copy Markdown
Member Author

OOI, how did you find this?

After the LOAD_FAST__LOAD_ATTR_INSTANCE_VALUE issue on #31640, I went through both these files and reviewed our use of instruction pointers. #31664 came out of that too.

Would it be feasible to add a regression test?

Not until we can dis quickened code. Once that happens, I can go through and add a new suite of test cases for all of our adaptive/specialized/super instructions.

Don't worry, it will be less like test_dis.py and more like test_peepholer.py. ;)

brandtbucher merged commit c4d2d57 into python:main Mar 4, 2022
brandtbucher deleted the binary-op-fix branch July 21, 2022 19:52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL