Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfecc89c

Browse files
committed
no refcounting
1 parentc417c55 commitfecc89c

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
externPyObject*__mypyc_empty_tuple__;
6969

7070
staticinlinePyObject*_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)

[8]ページ先頭

©2009-2025 Movatter.jp