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

GH-106529: Define POP_JUMP_IF_NONE in terms of POP_JUMP_IF_TRUE by markshannon · Pull Request #106599 · python/cpython · GitHub

/ cpython Public

GH-106529: Define POP_JUMP_IF_NONE in terms of POP_JUMP_IF_TRUE - #106599

Merged
markshannon merged 3 commits into
python:mainfrom
faster-cpython:micro-op-jump-if-none
Jul 11, 2023
Merged

GH-106529: Define POP_JUMP_IF_NONE in terms of POP_JUMP_IF_TRUE#106599
markshannon merged 3 commits into
python:mainfrom
faster-cpython:micro-op-jump-if-none

Conversation

markshannon commented Jul 10, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

Likewise POP_JUMP_IF_NOT_NONE in terms of POP_JUMP_IF_FALSE.

gvanrossum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Great, this should work with gh-106551 once that's ready.

gvanrossum commented Jul 10, 2023
edited
Loading

Copy link
Copy Markdown
Member

FWIW, I tried to come up with a test case for this, and finally realized these two opcodes are only emitted by compile.c for except*...

Copy link
Copy Markdown
Member

I pushed merge (since the conflict was my fault) but I'll leave it to you to land.

markshannon merged commit c0c041a into python:main Jul 11, 2023
markshannon deleted the micro-op-jump-if-none branch August 6, 2024 10:18
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL