Lines Matching defs:object
52 * object; it is also responsible for clearing the callback slot.
152 PyErr_SetString(PyExc_TypeError, "weak object has gone away");
195 are equal if the underlying objects are equal. If the underlying object has
226 /* Given the head of an object's list of weak references, extract the
300 "cannot create weak reference to '%s' object",
397 "weakly-referenced object no longer exists");
405 * replacing the original value with the raw object. Raises ReferenceError
638 "Weakref proxy referenced a non-iterator '%.200s' object",
795 "cannot create weak reference to '%s' object",
854 "cannot create weak reference to '%s' object",
938 * This iterates through the weak references for 'object' and calls callbacks
943 PyObject_ClearWeakRefs(PyObject *object)
947 if (object == NULL
948 || !_PyType_SUPPORTS_WEAKREFS(Py_TYPE(object))
949 || Py_REFCNT(object) != 0)
954 list = GET_WEAKREFS_LISTPTR(object);