Lines Matching defs:hash
52 static const char *notident = "hash attribute not identical to positional hash";
168 PyObject *hash = NULL;
192 Py_XDECREF(hash);\
302 if (PyDict_Size(attrs) > 0 || hash != NULL) {
308 hash = PyUnicode_FromStringAndSize(
311 hash = PyString_FromStringAndSize(
314 if (hash == NULL) {
347 strncmp(keystr, "hash", keysize) == 0) {
494 if (strncmp(keystr, "hash=", 5) == 0) {
501 hash = attr;
530 if (strncmp(keystr, "hash=", 5) == 0) {
537 hash = attr;
587 if (strncmp(keystr, "hash=", 5) == 0) {
594 hash = attr;
629 if (hash != NULL && hash != Py_None)
630 Py_DECREF(hash);
637 * call the action constructor, set the hash attribute, and then return
644 if (hash != NULL && hash != Py_None)
645 Py_DECREF(hash);
649 if (hash != NULL && hash != Py_None) {
650 if (PyObject_SetAttrString(action, "hash", hash) == -1) {
651 Py_DECREF(hash);
655 Py_DECREF(hash);