/external/python/cpython3/Lib/test/support/ |
D | testresult.py | 88 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/ |
D | weakrefobject.c | 931 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()
|
D | dictobject.c | 734 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/ |
D | weakrefobject.c | 907 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()
|
D | dictobject.c | 1318 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.c | 577 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.c | 409 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/ |
D | newtypes.rst | 100 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/ |
D | newtypes.rst | 1005 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);
|