Skip to content

Commit 95d921f

Browse files
committed
Add issue reference to comment.
1 parent 514f81d commit 95d921f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Python/gc_free_threading.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -907,9 +907,9 @@ static void
907907
queue_untracked_obj_decref(PyObject *op, struct collection_state *state)
908908
{
909909
assert(Py_REFCNT(op) == 0);
910-
// We have to treat frozen objects as untracked in this function or else
911-
// they might be picked up in a future collection, which breaks the assumption
912-
// that all incoming objects have a non-zero reference count.
910+
// gh-142975: We have to treat frozen objects as untracked in this function
911+
// or else they might be picked up in a future collection, which breaks the
912+
// assumption that all incoming objects have a non-zero reference count.
913913
if (!_PyObject_GC_IS_TRACKED(op) || gc_is_frozen(op)) {
914914
// GC objects with zero refcount are handled subsequently by the
915915
// GC as if they were cyclic trash, but we have to handle dead

0 commit comments

Comments
 (0)