Skip to content

Conversation

@iritkatriel
Copy link
Member

@iritkatrieliritkatriel commented Oct 12, 2023

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
Member

👍

@markshannonmarkshannon 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