Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Objects/obmalloc.c
Co-authored-by: T. Wouters <thomas@python.org>
  • Loading branch information
colesbury and Yhg1s authored Jan 5, 2026
commit da8b157fc9e05f2a79302ca8b449306d22085417
2 changes: 1 addition & 1 deletion Objects/obmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ _PyObject_MiRealloc(void *ctx, void *ptr, size_t nbytes)
return NULL;
}

// Free threaded Python allows safe access to the PyObject reference count
// Free threaded Python allows access from other threads to the PyObject reference count
// fields for a period of time after the object is freed (see InternalDocs/qsbr.md).
// These fields are typically initialized by PyObject_Init() using relaxed
// atomic stores. We need to copy these fields in a thread-safe way here.
Expand Down
Loading