Skip to content

gh-109094: remove redundant arg to _PyFrame_PushTrampolineUnchecked - #110759

Merged
markshannon merged 1 commit into
python:mainfrom
iritkatriel:redundant_arg
Oct 12, 2023
Merged

gh-109094: remove redundant arg to _PyFrame_PushTrampolineUnchecked#110759
markshannon merged 1 commit into
python:mainfrom
iritkatriel:redundant_arg

Conversation

@iritkatriel

@iritkatrieliritkatriel commented Oct 12, 2023

Copy link
Copy Markdown
Member

The prev_instr arg is not actually used (always passed 0). I suggest removing it rather than migrating it to instr_ptr, since there are no tests to tell us if we're doing it right. It would not be hard to re-implement this if and when we need it.

@iritkatrieliritkatriel added skip news interpreter-core (Objects, Python, Grammar, and Parser dirs) labels Oct 12, 2023
@iritkatrieliritkatriel changed the title gh-109095: remove redundant arg to _PyFrame_PushTrampolineUncheckedgh-109094: remove redundant arg to _PyFrame_PushTrampolineUncheckedOct 12, 2023
@markshannon

Copy link
Copy Markdown
Member

👍

@markshannon
markshannon merged commit 7dd3c2b into python:mainOct 12, 2023
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

interpreter-core(Objects, Python, Grammar, and Parser dirs)skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@iritkatriel@markshannon