}
static void
-dict_unhashtable_type(PyObject *key)
+dict_unhashable_type(PyObject *key)
{
PyObject *exc = PyErr_GetRaisedException();
assert(exc != NULL);
Py_hash_t hash = _PyObject_HashFast(key);
if (hash == -1) {
- dict_unhashtable_type(key);
+ dict_unhashable_type(key);
return -1;
}
Py_hash_t hash = _PyObject_HashFast(key);
if (hash == -1) {
- dict_unhashtable_type(key);
+ dict_unhashable_type(key);
*result = NULL;
return -1;
}
Py_hash_t hash = _PyObject_HashFast(key);
if (hash == -1) {
- dict_unhashtable_type(key);
+ dict_unhashable_type(key);
*result = NULL;
return -1;
}
}
hash = _PyObject_HashFast(key);
if (hash == -1) {
- dict_unhashtable_type(key);
+ dict_unhashable_type(key);
return NULL;
}
assert(PyDict_Check(mp));
Py_hash_t hash = _PyObject_HashFast(key);
if (hash == -1) {
- dict_unhashtable_type(key);
+ dict_unhashable_type(key);
Py_DECREF(key);
Py_DECREF(value);
return -1;
assert(key);
Py_hash_t hash = _PyObject_HashFast(key);
if (hash == -1) {
- dict_unhashtable_type(key);
+ dict_unhashable_type(key);
return -1;
}
Py_hash_t hash = _PyObject_HashFast(key);
if (hash == -1) {
- dict_unhashtable_type(key);
+ dict_unhashable_type(key);
if (result) {
*result = NULL;
}
hash = _PyObject_HashFast(key);
if (hash == -1) {
- dict_unhashtable_type(key);
+ dict_unhashable_type(key);
return NULL;
}
ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
hash = _PyObject_HashFast(key);
if (hash == -1) {
- dict_unhashtable_type(key);
+ dict_unhashable_type(key);
return NULL;
}
ix = _Py_dict_lookup_threadsafe(self, key, hash, &val);
hash = _PyObject_HashFast(key);
if (hash == -1) {
- dict_unhashtable_type(key);
+ dict_unhashable_type(key);
if (result) {
*result = NULL;
}
{
Py_hash_t hash = _PyObject_HashFast(key);
if (hash == -1) {
- dict_unhashtable_type(key);
+ dict_unhashable_type(key);
return -1;
}
if (value == NULL) {
Py_hash_t hash = _PyObject_HashFast(name);
if (hash == -1) {
- dict_unhashtable_type(name);
+ dict_unhashable_type(name);
return -1;
}
return delitem_knownhash_lock_held((PyObject *)dict, name, hash);
}
static void
-set_unhashtable_type(PyObject *key)
+set_unhashable_type(PyObject *key)
{
PyObject *exc = PyErr_GetRaisedException();
assert(exc != NULL);
{
Py_hash_t hash = _PyObject_HashFast(key);
if (hash == -1) {
- set_unhashtable_type(key);
+ set_unhashable_type(key);
Py_DECREF(key);
return -1;
}
{
Py_hash_t hash = _PyObject_HashFast(key);
if (hash == -1) {
- set_unhashtable_type(key);
+ set_unhashable_type(key);
return -1;
}
return set_add_entry(so, key, hash);
{
Py_hash_t hash = _PyObject_HashFast(key);
if (hash == -1) {
- set_unhashtable_type(key);
+ set_unhashable_type(key);
return -1;
}
return set_contains_entry(so, key, hash);
{
Py_hash_t hash = _PyObject_HashFast(key);
if (hash == -1) {
- set_unhashtable_type(key);
+ set_unhashable_type(key);
return -1;
}
return set_discard_entry(so, key, hash);