Assert with the PyStackRef_IsTaggedInt
function
#133476
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-feature
A feature request or enhancement
In the
_PyStackRef_AsPyObjectBorrow
, I think we should use thePyStackRef_IsTaggedInt
rather than asserting theref.index
value directly from the function. However, the same thing applies to thePyStackRef_UntagInt
function, which asserts thei.bits
value rather than calling thePyStackRef_IsTaggedInt
function.Linked PRs
PyStackRef_IsTaggedInt
function #133477The text was updated successfully, but these errors were encountered: