Home
last modified time | relevance | path

Searched refs:err_value (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython3/Lib/test/support/
Dtestresult.py88 def __makeErrorDict(cls, err_type, err_value, err_tb): argument
97 msg = traceback.format_exception(err_type, err_value, None)
98 tb = traceback.format_exception(err_type, err_value, err_tb)
/external/python/cpython2/Objects/
Dweakrefobject.c931 PyObject *err_type, *err_value, *err_tb; in PyObject_ClearWeakRefs() local
933 PyErr_Fetch(&err_type, &err_value, &err_tb); in PyObject_ClearWeakRefs()
951 _PyErr_ReplaceException(err_type, err_value, err_tb); in PyObject_ClearWeakRefs()
983 PyErr_Restore(err_type, err_value, err_tb); in PyObject_ClearWeakRefs()
Ddictobject.c734 PyObject *err_type, *err_value, *err_tb; in PyDict_GetItem() local
735 PyErr_Fetch(&err_type, &err_value, &err_tb); in PyDict_GetItem()
738 PyErr_Restore(err_type, err_value, err_tb); in PyDict_GetItem()
/external/python/cpython3/Objects/
Dweakrefobject.c907 PyObject *err_type, *err_value, *err_tb; in PyObject_ClearWeakRefs() local
909 PyErr_Fetch(&err_type, &err_value, &err_tb); in PyObject_ClearWeakRefs()
927 _PyErr_ChainExceptions(err_type, err_value, err_tb); in PyObject_ClearWeakRefs()
959 PyErr_Restore(err_type, err_value, err_tb); in PyObject_ClearWeakRefs()
Ddictobject.c1318 PyObject *err_type, *err_value, *err_tb; in PyDict_GetItem() local
1319 PyErr_Fetch(&err_type, &err_value, &err_tb); in PyDict_GetItem()
1322 PyErr_Restore(err_type, err_value, err_tb); in PyDict_GetItem()
/external/python/cpython3/Modules/
D_ssl.c577 PyObject *err_value = NULL, *reason_obj = NULL, *lib_obj = NULL; in fill_and_set_sslerror() local
676 err_value = PyObject_CallObject(type, init_value); in fill_and_set_sslerror()
678 if (err_value == NULL) in fill_and_set_sslerror()
683 if (_PyObject_SetAttrId(err_value, &PyId_reason, reason_obj)) in fill_and_set_sslerror()
688 if (_PyObject_SetAttrId(err_value, &PyId_library, lib_obj)) in fill_and_set_sslerror()
693 if (_PyObject_SetAttrId(err_value, &PyId_verify_code, in fill_and_set_sslerror()
696 if (_PyObject_SetAttrId(err_value, &PyId_verify_message, verify_obj)) in fill_and_set_sslerror()
700 PyErr_SetObject(type, err_value); in fill_and_set_sslerror()
702 Py_XDECREF(err_value); in fill_and_set_sslerror()
/external/python/cpython2/Modules/
D_ssl.c409 PyObject *err_value = NULL, *reason_obj = NULL, *lib_obj = NULL; in fill_and_set_sslerror() local
455 err_value = PyObject_CallObject(type, init_value); in fill_and_set_sslerror()
457 if (err_value == NULL) in fill_and_set_sslerror()
462 if (PyObject_SetAttrString(err_value, "reason", reason_obj)) in fill_and_set_sslerror()
466 if (PyObject_SetAttrString(err_value, "library", lib_obj)) in fill_and_set_sslerror()
468 PyErr_SetObject(type, err_value); in fill_and_set_sslerror()
470 Py_XDECREF(err_value); in fill_and_set_sslerror()
/external/python/cpython3/Doc/extending/
Dnewtypes.rst100 PyObject *err_type, *err_value, *err_traceback;
103 PyErr_Fetch(&err_type, &err_value, &err_traceback);
112 PyErr_Restore(err_type, err_value, err_traceback);
/external/python/cpython2/Doc/extending/
Dnewtypes.rst1005 PyObject *err_type, *err_value, *err_traceback;
1009 PyErr_Fetch(&err_type, &err_value, &err_traceback);
1018 PyErr_Restore(err_type, err_value, err_traceback);