Lines Matching defs:cause
921 // - Don't cause key creation or resizing in dict subclasses like
1122 static int do_raise(PyThreadState *tstate, PyObject *exc, PyObject *cause);
2409 PyObject *cause = NULL, *exc = NULL;
2412 cause = POP(); /* cause */
2418 if (do_raise(tstate, exc, cause)) {
6525 do_raise(PyThreadState *tstate, PyObject *exc, PyObject *cause)
6582 if (cause) {
6584 if (PyExceptionClass_Check(cause)) {
6585 fixed_cause = _PyObject_CallNoArgs(cause);
6588 Py_DECREF(cause);
6590 else if (PyExceptionInstance_Check(cause)) {
6591 fixed_cause = cause;
6593 else if (Py_IsNone(cause)) {
6594 Py_DECREF(cause);
6615 Py_XDECREF(cause);