Lines Matching defs:set
62 - Py_TPFLAGS_VALID_VERSION_TAG is never set if
63 Py_TPFLAGS_HAVE_VERSION_TAG is not set (e.g. on type
66 - before Py_TPFLAGS_VALID_VERSION_TAG can be set on a type,
67 it must first be set on all super types.
71 tp_version_tag value is meaningless unless this flag is set.
144 /* Ensure that the tp_version_tag is valid and set
165 Values are also set to NULL for added protection, as they
232 "can't set %s.__name__", type->tp_name);
297 "can't set %s.__module__", type->tp_name);
330 /* __abstractmethods__ should only be set once on a type, in
431 "can't set %s.__bases__", type->tp_name);
1445 PyObject *set = PyDict_New();
1446 if (!set) return;
1453 if (PyDict_SetItem(set, c, Py_None) < 0) {
1454 Py_DECREF(set);
1459 n = PyDict_Size(set);
1464 while (PyDict_Next(set, &i, &k, &v) && (size_t)off < sizeof(buf)) {
1475 Py_DECREF(set);
1906 "__dict__ must be set to a dictionary, "
2483 This returns a borrowed reference, and doesn't set an exception! */
2627 "can't set attributes of built-in/extension type '%s'",
3115 "__class__ must be set to new-style class, not '%s' object",
4106 /* if the type dictionary doesn't contain a __doc__, set it from
4145 /* All done -- set the ready flag */
6218 /* We specifically allow __hash__ to be set to None