-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
Closed
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement
Description
In the _PyStackRef_AsPyObjectBorrow, I think we should use the PyStackRef_IsTaggedInt rather than asserting the ref.index value directly from the function. However, the same thing applies to the PyStackRef_UntagInt function, which asserts the i.bits value rather than calling the PyStackRef_IsTaggedInt function.
Linked PRs
Metadata
Metadata
Assignees
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement