Home
last modified time | relevance | path

Searched refs:err_type (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
89 if isinstance(err_type, type):
90 if err_type.__module__ == 'builtins':
91 typename = err_type.__name__
95 typename = repr(err_type)
97 msg = traceback.format_exception(err_type, err_value, None)
98 tb = traceback.format_exception(err_type, err_value, err_tb)
/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/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/scapy/scapy/contrib/
Dopenflow.py1193 err_type = orb(payload[9])
1195 if err_type == 255: err_type = 65535
1196 return ofp_error_cls[err_type]
Dopenflow3.py3358 err_type = orb(payload[9])
3360 if err_type == 255: err_type = 65535
3361 return ofp_error_cls[err_type]
/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);