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 474b776 commit 0ed7a91Copy full SHA for 0ed7a91
pandas/_libs/internals.pyx
@@ -26,15 +26,15 @@ from pandas._libs.util cimport (
26
is_integer_object,
27
)
28
29
-IF 0:
30
- include "free_threading_config.pxi"
+# At the top of the file:
+DEF CYTHON_COMPATIBLE_WITH_FREE_THREADING = False # Or import from external config as needed
31
32
IF CYTHON_COMPATIBLE_WITH_FREE_THREADING:
33
from cpython.ref cimport Py_DECREF
34
from cpython.weakref cimport PyWeakref_GetRef
35
-ELSE:
+else:
36
from cpython.weakref cimport PyWeakref_GetObject
37
-
+
38
39
cdef extern from "Python.h":
40
PyObject* Py_None
0 commit comments