GH-117760: Streamline the trashcan mechanism (GH-117763)

This commit is contained in:
Mark Shannon 2024-04-17 11:08:05 +01:00 committed by GitHub
parent c917b3e8e1
commit 147cd0581e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 44 additions and 129 deletions

View file

@ -615,7 +615,6 @@ _PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET(PyObject *op)
return (PyWeakReference **)((char *)op + offset);
}
// Fast inlined version of PyObject_IS_GC()
static inline int
_PyObject_IS_GC(PyObject *obj)