Skip to content

Commit fecc89c

Browse files
committed
no refcounting
1 parent c417c55 commit fecc89c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mypyc/lib-rt/CPy.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ typedef struct tuple_T4CIOO {
6868
extern PyObject * __mypyc_empty_tuple__;
6969

7070
static inline PyObject *_CPyTuple_LoadEmptyTupleConstant() {
71-
Py_INCREF(__mypyc_empty_tuple__);
71+
// do tests still pass if I comment this out? empty tuple singleton is not tracked by gc
72+
// Py_INCREF(__mypyc_empty_tuple__);
7273
return __mypyc_empty_tuple__;
7374
}
7475

0 commit comments

Comments
 (0)