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 b1b3b2b commit d965529Copy full SHA for d965529
Include/internal/pycore_stackref.h
@@ -480,7 +480,7 @@ static inline PyObject *
480
_PyStackRef_AsTuple(_PyStackRef ref, PyObject *op)
481
{
482
// Do not check StackRef flags in the free threading build.
483
- return Py_BuildValue("(ni)", Py_REFCNT(op), flags);
+ return Py_BuildValue("(ni)", Py_REFCNT(op), -1);
484
}
485
486
static inline PyObject *
@@ -671,7 +671,7 @@ static inline PyObject *
671
672
673
int flags = ref.bits & Py_TAG_BITS;
674
- return Py_BuildValue("(ni)", Py_REFCNT(op), -1);
+ return Py_BuildValue("(ni)", Py_REFCNT(op), flags);
675
676
677
#ifdef Py_DEBUG
0 commit comments