Skip to content

Commit a5e39e8

Browse files
Do not check flags on FT build
1 parent 0a82e96 commit a5e39e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Modules/_testinternalcapi.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2424,6 +2424,8 @@ stackref_to_tuple(_PyStackRef ref, PyObject *op)
24242424
{
24252425
#if !defined(Py_GIL_DISABLED) && defined(Py_STACKREF_DEBUG)
24262426
int flags = ref.index & Py_TAG_BITS;
2427+
#elif defined(Py_GIL_DISABLED)
2428+
int flags = 0;
24272429
#else
24282430
int flags = ref.bits & Py_TAG_BITS;
24292431
#endif

0 commit comments

Comments
 (0)