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 29e125f commit 9b5b410Copy full SHA for 9b5b410
mypyc/lib-rt/mypyc_util.h
@@ -38,6 +38,9 @@
38
//
39
// Py_INCREF and other CPython operations check for immortality. This
40
// can be expensive when we know that an object cannot be immortal.
41
+//
42
+// This optimization cannot be performed in free-threaded mode so we
43
+// fall back to just calling the normal incref/decref operations.
44
45
static inline void CPy_INCREF_NO_IMM(PyObject *op)
46
{
0 commit comments