Lines Matching full:dispatch_table
129 /* copyreg.dispatch_table, {type_object: pickling_function} */
130 PyObject *dispatch_table;
186 Py_CLEAR(st->dispatch_table);
220 st->dispatch_table = PyObject_GetAttrString(copyreg, "dispatch_table");
221 if (!st->dispatch_table)
223 if (!PyDict_CheckExact(st->dispatch_table)) {
225 "copyreg.dispatch_table should be a dict, not %.200s",
226 Py_TYPE(st->dispatch_table)->tp_name);
548 PyObject *dispatch_table; /* private dispatch_table, can be NULL */
1009 self->dispatch_table = NULL;
3685 >>> copyreg.dispatch_table.pop(complex)
3691 Removing the complex class from copyreg.dispatch_table made the
3866 * self.dispatch_table, copyreg.dispatch_table, the object's
3869 if (self->dispatch_table == NULL) {
3871 reduce_func = PyDict_GetItemWithError(st->dispatch_table,
3884 reduce_func = PyObject_GetItem(self->dispatch_table,
4101 Py_XDECREF(self->dispatch_table);
4114 Py_VISIT(self->dispatch_table);
4125 Py_CLEAR(self->dispatch_table);
4171 _Py_IDENTIFIER(dispatch_table);
4208 self->dispatch_table = NULL;
4210 self->dispatch_table = _PyObject_GetAttrId((PyObject *)self,
4212 if (self->dispatch_table == NULL)
4501 {"dispatch_table", T_OBJECT_EX, offsetof(PicklerObject, dispatch_table)},
7262 Py_VISIT(st->dispatch_table);