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.
__Pyx_PyUnstable_Object_IsUniqueReferencedTemporary
1 parent abeba1b commit fcffde9Copy full SHA for fcffde9
pandas/_libs/internals.pyx
@@ -1006,8 +1006,12 @@ cdef class BlockValuesRefs:
1006
1007
cdef extern from "Python.h":
1008
"""
1009
+ // python version < 3.14
1010
#if PY_VERSION_HEX < 0x030E0000
- int __Pyx_PyUnstable_Object_IsUniqueReferencedTemporary(PyObject *ref);
1011
+ // This function is unused and is declared to avoid a build warning
1012
+ int __Pyx_PyUnstable_Object_IsUniqueReferencedTemporary(PyObject *ref) {
1013
+ return Py_REFCNT(ref) == 1;
1014
+ }
1015
#else
1016
#define __Pyx_PyUnstable_Object_IsUniqueReferencedTemporary \
1017
PyUnstable_Object_IsUniqueReferencedTemporary
0 commit comments