We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba2a612 commit 417cd59Copy full SHA for 417cd59
Python/bytecodes.c
@@ -3247,12 +3247,9 @@ dummy_func(
3247
DISPATCH();
3248
}
3249
#else
3250
- intptr_t i = PyStackRef_UntagInt(null_or_index);
3251
- assert(i < PyList_GET_SIZE(list_o));
3252
- next = PyStackRef_FromPyObjectNew(PyList_GET_ITEM(list_o, i));
+ next = PyStackRef_FromPyObjectNew(PyList_GET_ITEM(list_o, PyStackRef_UntagInt(null_or_index)));
3253
#endif
3254
null_or_index = PyStackRef_IncrementTaggedInt(null_or_index);
3255
- assert(PyStackRef_UntagInt(null_or_index) == i + 1);
3256
3257
3258
// Only used by Tier 2
0 commit comments