Searched refs:pers_func (Results 1 – 2 of 2) sorted by relevance
338 PyObject *pers_func; member372 PyObject *pers_func; member2606 if (!pers_save && self->pers_func) { in save()2607 if ((tmp = save_pers(self, args, self->pers_func)) != 0) { in save()3075 self->pers_func = NULL; in newPicklerobject()3192 Py_XDECREF(self->pers_func); in Pickler_dealloc()3207 Py_VISIT(self->pers_func); in Pickler_traverse()3221 Py_CLEAR(self->pers_func); in Pickler_clear()3230 if (p->pers_func == NULL) in Pickler_get_pers_func()3233 Py_INCREF(p->pers_func); in Pickler_get_pers_func()[all …]
622 PyObject *pers_func; /* persistent_id() method, can be NULL */ member666 PyObject *pers_func; /* persistent_load() method, can be NULL. */ member1113 self->pers_func = NULL; in _Pickler_New()1597 self->pers_func = NULL; in _Unpickler_New()3875 pid = call_method(self->pers_func, self->pers_func_self, obj); in save_pers()4271 if (!pers_save && self->pers_func) { in save()4640 Py_XDECREF(self->pers_func); in Pickler_dealloc()4655 Py_VISIT(self->pers_func); in Pickler_traverse()4668 Py_CLEAR(self->pers_func); in Pickler_clear()4767 &self->pers_func, &self->pers_func_self) < 0) in _pickle_Pickler___init___impl()[all …]