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 b7d7a96 commit f0a09c3Copy full SHA for f0a09c3
1 file changed
Include/internal/pycore_stackref.h
@@ -457,7 +457,8 @@ static const _PyStackRef PyStackRef_NULL = { .bits = Py_TAG_DEFERRED};
457
static inline PyObject *
458
_PyStackRef_AsTuple(_PyStackRef ref, PyObject *op)
459
{
460
- return Py_BuildValue("(Ii)", Py_REFCNT(op), 0);
+ // Do not check StackRef flags in the free threading build.
461
+ return Py_BuildValue("(Ii)", Py_REFCNT(op), -1);
462
}
463
464
0 commit comments