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

GH-89914: Make the oparg of the YIELD_VALUE instruction equal the stack depth. by markshannon · Pull Request #92960 · python/cpython · GitHub

/ cpython Public

GH-89914: Make the oparg of the YIELD_VALUE instruction equal the stack depth. - #92960

Merged
markshannon merged 2 commits into
python:mainfrom
faster-cpython:yield-oparg-depth
May 19, 2022
Merged

GH-89914: Make the oparg of the YIELD_VALUE instruction equal the stack depth.#92960
markshannon merged 2 commits into
python:mainfrom
faster-cpython:yield-oparg-depth

Conversation

markshannon commented May 19, 2022
edited
Loading

Copy link
Copy Markdown
Member

A small change. Sets the oparg of YIELD_VALUE to be the stack depth.
This is an enabler of faster-cpython/ideas#111 (comment)
It does have some merit by itself, as an additional sanity check for debug builds.

markshannon merged commit 3fd8610 into python:main May 19, 2022
markshannon deleted the yield-oparg-depth branch September 26, 2023 12:49
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.

2 participants


Back | FazBrowse Home | New Git URL