Lines Matching defs:exception
735 return _PyStatus_ERR("failed to initialize an exception type");
1851 * XXX other threads can execute too, and any exception they encounter
1854 * XXX the exception and consequent unexpected failures). I've also
1947 exception information is available even in this case -- the
1948 exception information is held in the thread, and there is no
2495 /* Print the current exception (if an exception is set) with its traceback,
2507 PyObject *exception, *v, *tb;
2510 _PyErr_Fetch(tstate, &exception, &v, &tb);
2511 if (exception == NULL) {
2512 /* No current exception */
2519 no need to try to display the exception */
2523 _PyErr_NormalizeException(tstate, &exception, &v, &tb);
2529 if (exception == NULL) {
2535 PyErr_Display(exception, v, tb);
2536 Py_XDECREF(exception);
2779 /* If an exception is set, print the exception with its traceback */
2781 /* No exception is set, or an exception is set without traceback */