Compare the f->stackpointer
to the result of _PyFrame_Stackbase(f)
#133713
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-feature
A feature request or enhancement
I think we should compare
f->stackpointer
to the result of the_PyFrame_Stackbase(f)
in the_PyFrame_StackPeek
and in the_PyFrame_StackPop
rather than repeat the offset calculation in both of them.cpython/Include/internal/pycore_interpframe.h
Lines 46 to 60 in c492ac7
Linked PRs
f->stackpointer
to the result of_PyFrame_Stackbase(f)
#133714The text was updated successfully, but these errors were encountered: