Index: Objects/abstract.c =================================================================== --- Objects/abstract.c (revision 47225) +++ Objects/abstract.c (working copy) @@ -1458,7 +1458,13 @@ /* Fill the tuple. */ for (j = 0; ; ++j) { + /* Untrack the candidate tuple so that the tuple doesn't show up + in gc.get_referrers() until its done being built + */ + _PyObject_GC_UNTRACK(result) PyObject *item = PyIter_Next(it); + _PyObject_GC_TRACK(result); + if (item == NULL) { if (PyErr_Occurred()) goto Fail;