Searched refs:caught_type (Results 1 – 1 of 1) sorted by relevance
2943 PyTypeObject *caught_type; in _PyErr_TrySetFromCause() local2952 caught_type = (PyTypeObject *)exc; in _PyErr_TrySetFromCause()2956 caught_type_size = caught_type->tp_basicsize; in _PyErr_TrySetFromCause()2960 (PyType_SUPPORTS_WEAKREFS(caught_type) && in _PyErr_TrySetFromCause()2964 if (caught_type->tp_init != (initproc)BaseException_init || in _PyErr_TrySetFromCause()2965 caught_type->tp_new != BaseException_new || in _PyErr_TrySetFromCause()2967 caught_type->tp_itemsize != _PyExc_BaseException.tp_itemsize) { in _PyErr_TrySetFromCause()