/dports/devel/py-ddtrace/ddtrace-0.56.1/ddtrace/contrib/tornado/ |
H A D | decorators.py | 26 exc, exc_tb = future.exception_info() 27 if exc and exc_tb: 29 span.set_exc_info(exc_type, exc, exc_tb) 39 exc_tb = getattr(exc, "__traceback__", None) 40 span.set_exc_info(exc_type, exc, exc_tb)
|
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/general/plugins/module_utils/mh/mixins/ |
H A D | deps.py | 22 self.exc_tb = None 27 def __exit__(self, exc_type, exc_val, exc_tb): argument 31 self.exc_tb = exc_tb 51 … exception="\n".join(traceback.format_exception(d.exc_type, d.exc_val, d.exc_tb)),
|
/dports/graphics/krita/krita-4.4.8/plugins/extensions/pykrita/plugin/krita/ |
H A D | excepthook.py | 19 def on_error(exc_type, exc_obj, exc_tb): argument 23 dlg = ExceptHookDialog(exc_type, exc_obj, exc_tb) 52 def __init__(self, exc_type, exc_obj, exc_tb, title=None): argument 60 html = cgitb.text((exc_type, exc_obj, exc_tb))
|
/dports/databases/py-sqlite3/Python-3.8.12/Python/ |
H A D | errors.c | 1130 ADD_ITEM(exc_tb); in make_unraisable_hook_args() 1188 if (exc_tb != NULL && exc_tb != Py_None) { in write_unraisable_exc_file() 1189 if (PyTraceBack_Print(exc_tb, file) < 0) { in write_unraisable_exc_file() 1335 PyObject *exc_type, *exc_value, *exc_tb; in _PyErr_WriteUnraisableMsg() local 1336 _PyErr_Fetch(tstate, &exc_type, &exc_value, &exc_tb); in _PyErr_WriteUnraisableMsg() 1345 if (exc_tb == NULL) { in _PyErr_WriteUnraisableMsg() 1348 exc_tb = _PyTraceBack_FromFrame(NULL, frame); in _PyErr_WriteUnraisableMsg() 1349 if (exc_tb == NULL) { in _PyErr_WriteUnraisableMsg() 1357 if (exc_tb != NULL && exc_tb != Py_None && PyTraceBack_Check(exc_tb)) { in _PyErr_WriteUnraisableMsg() 1415 Py_XDECREF(exc_tb); in _PyErr_WriteUnraisableMsg() [all …]
|
/dports/databases/py-gdbm/Python-3.8.12/Python/ |
H A D | errors.c | 1130 ADD_ITEM(exc_tb); in make_unraisable_hook_args() 1188 if (exc_tb != NULL && exc_tb != Py_None) { in write_unraisable_exc_file() 1189 if (PyTraceBack_Print(exc_tb, file) < 0) { in write_unraisable_exc_file() 1335 PyObject *exc_type, *exc_value, *exc_tb; in _PyErr_WriteUnraisableMsg() local 1336 _PyErr_Fetch(tstate, &exc_type, &exc_value, &exc_tb); in _PyErr_WriteUnraisableMsg() 1345 if (exc_tb == NULL) { in _PyErr_WriteUnraisableMsg() 1348 exc_tb = _PyTraceBack_FromFrame(NULL, frame); in _PyErr_WriteUnraisableMsg() 1349 if (exc_tb == NULL) { in _PyErr_WriteUnraisableMsg() 1357 if (exc_tb != NULL && exc_tb != Py_None && PyTraceBack_Check(exc_tb)) { in _PyErr_WriteUnraisableMsg() 1415 Py_XDECREF(exc_tb); in _PyErr_WriteUnraisableMsg() [all …]
|
/dports/lang/python-tools/Python-3.8.12/Python/ |
H A D | errors.c | 1130 ADD_ITEM(exc_tb); in make_unraisable_hook_args() 1188 if (exc_tb != NULL && exc_tb != Py_None) { in write_unraisable_exc_file() 1189 if (PyTraceBack_Print(exc_tb, file) < 0) { in write_unraisable_exc_file() 1335 PyObject *exc_type, *exc_value, *exc_tb; in _PyErr_WriteUnraisableMsg() local 1336 _PyErr_Fetch(tstate, &exc_type, &exc_value, &exc_tb); in _PyErr_WriteUnraisableMsg() 1345 if (exc_tb == NULL) { in _PyErr_WriteUnraisableMsg() 1348 exc_tb = _PyTraceBack_FromFrame(NULL, frame); in _PyErr_WriteUnraisableMsg() 1349 if (exc_tb == NULL) { in _PyErr_WriteUnraisableMsg() 1357 if (exc_tb != NULL && exc_tb != Py_None && PyTraceBack_Check(exc_tb)) { in _PyErr_WriteUnraisableMsg() 1415 Py_XDECREF(exc_tb); in _PyErr_WriteUnraisableMsg() [all …]
|
/dports/lang/python38/Python-3.8.12/Python/ |
H A D | errors.c | 1130 ADD_ITEM(exc_tb); in make_unraisable_hook_args() 1188 if (exc_tb != NULL && exc_tb != Py_None) { in write_unraisable_exc_file() 1189 if (PyTraceBack_Print(exc_tb, file) < 0) { in write_unraisable_exc_file() 1335 PyObject *exc_type, *exc_value, *exc_tb; in _PyErr_WriteUnraisableMsg() local 1336 _PyErr_Fetch(tstate, &exc_type, &exc_value, &exc_tb); in _PyErr_WriteUnraisableMsg() 1345 if (exc_tb == NULL) { in _PyErr_WriteUnraisableMsg() 1348 exc_tb = _PyTraceBack_FromFrame(NULL, frame); in _PyErr_WriteUnraisableMsg() 1349 if (exc_tb == NULL) { in _PyErr_WriteUnraisableMsg() 1357 if (exc_tb != NULL && exc_tb != Py_None && PyTraceBack_Check(exc_tb)) { in _PyErr_WriteUnraisableMsg() 1415 Py_XDECREF(exc_tb); in _PyErr_WriteUnraisableMsg() [all …]
|
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Python/ |
H A D | errors.c | 1130 ADD_ITEM(exc_tb); in make_unraisable_hook_args() 1188 if (exc_tb != NULL && exc_tb != Py_None) { in write_unraisable_exc_file() 1189 if (PyTraceBack_Print(exc_tb, file) < 0) { in write_unraisable_exc_file() 1335 PyObject *exc_type, *exc_value, *exc_tb; in _PyErr_WriteUnraisableMsg() local 1336 _PyErr_Fetch(tstate, &exc_type, &exc_value, &exc_tb); in _PyErr_WriteUnraisableMsg() 1345 if (exc_tb == NULL) { in _PyErr_WriteUnraisableMsg() 1348 exc_tb = _PyTraceBack_FromFrame(NULL, frame); in _PyErr_WriteUnraisableMsg() 1349 if (exc_tb == NULL) { in _PyErr_WriteUnraisableMsg() 1357 if (exc_tb != NULL && exc_tb != Py_None && PyTraceBack_Check(exc_tb)) { in _PyErr_WriteUnraisableMsg() 1415 Py_XDECREF(exc_tb); in _PyErr_WriteUnraisableMsg() [all …]
|
/dports/print/scribus-devel/scribus-1.5.7/scribus/plugins/scripter/python/ |
H A D | excepthook.py | 20 def on_error(exc_type, exc_obj, exc_tb): argument 24 dlg = ExceptHookDialog(exc_type, exc_obj, exc_tb) 56 def __init__(self, exc_type, exc_obj, exc_tb, title=None): argument 67 html = cgitb.html((exc_type, exc_obj, exc_tb))
|
/dports/devel/py-opentracing/opentracing-2.4.0/opentracing/ |
H A D | span.py | 211 def __exit__(self, exc_type, exc_val, exc_tb): argument 218 Span._on_error(self, exc_type, exc_val, exc_tb) 222 def _on_error(span, exc_type, exc_val, exc_tb): argument 232 logs.STACK: exc_tb,
|
/dports/devel/viewvc-devel/viewvc-c93d9da79c31457ecb0a771ff52d28353dc6e878/lib/ |
H A D | common.py | 103 exc_type, exc, exc_tb = sys.exc_info() 118 formatted = traceback.format_exception(exc_type, exc, exc_tb) 119 if exc_tb is not None: 128 del exc_tb
|
/dports/lang/python311/Python-3.11.0a3/Python/ |
H A D | errors.c | 1279 ADD_ITEM(exc_tb); in make_unraisable_hook_args() 1337 if (exc_tb != NULL && exc_tb != Py_None) { in write_unraisable_exc_file() 1338 if (PyTraceBack_Print(exc_tb, file) < 0) { in write_unraisable_exc_file() 1483 PyObject *exc_type, *exc_value, *exc_tb; in _PyErr_WriteUnraisableMsg() local 1484 _PyErr_Fetch(tstate, &exc_type, &exc_value, &exc_tb); in _PyErr_WriteUnraisableMsg() 1493 if (exc_tb == NULL) { in _PyErr_WriteUnraisableMsg() 1496 exc_tb = _PyTraceBack_FromFrame(NULL, frame); in _PyErr_WriteUnraisableMsg() 1497 if (exc_tb == NULL) { in _PyErr_WriteUnraisableMsg() 1506 if (exc_tb != NULL && exc_tb != Py_None && PyTraceBack_Check(exc_tb)) { in _PyErr_WriteUnraisableMsg() 1563 Py_XDECREF(exc_tb); in _PyErr_WriteUnraisableMsg() [all …]
|
/dports/lang/python310/Python-3.10.1/Python/ |
H A D | errors.c | 1257 ADD_ITEM(exc_tb); in make_unraisable_hook_args() 1315 if (exc_tb != NULL && exc_tb != Py_None) { in write_unraisable_exc_file() 1316 if (PyTraceBack_Print(exc_tb, file) < 0) { in write_unraisable_exc_file() 1460 PyObject *exc_type, *exc_value, *exc_tb; in _PyErr_WriteUnraisableMsg() local 1461 _PyErr_Fetch(tstate, &exc_type, &exc_value, &exc_tb); in _PyErr_WriteUnraisableMsg() 1470 if (exc_tb == NULL) { in _PyErr_WriteUnraisableMsg() 1473 exc_tb = _PyTraceBack_FromFrame(NULL, frame); in _PyErr_WriteUnraisableMsg() 1474 if (exc_tb == NULL) { in _PyErr_WriteUnraisableMsg() 1482 if (exc_tb != NULL && exc_tb != Py_None && PyTraceBack_Check(exc_tb)) { in _PyErr_WriteUnraisableMsg() 1539 Py_XDECREF(exc_tb); in _PyErr_WriteUnraisableMsg() [all …]
|
/dports/lang/python39/Python-3.9.9/Python/ |
H A D | errors.c | 1255 ADD_ITEM(exc_tb); in make_unraisable_hook_args() 1313 if (exc_tb != NULL && exc_tb != Py_None) { in write_unraisable_exc_file() 1314 if (PyTraceBack_Print(exc_tb, file) < 0) { in write_unraisable_exc_file() 1458 PyObject *exc_type, *exc_value, *exc_tb; in _PyErr_WriteUnraisableMsg() local 1459 _PyErr_Fetch(tstate, &exc_type, &exc_value, &exc_tb); in _PyErr_WriteUnraisableMsg() 1468 if (exc_tb == NULL) { in _PyErr_WriteUnraisableMsg() 1471 exc_tb = _PyTraceBack_FromFrame(NULL, frame); in _PyErr_WriteUnraisableMsg() 1472 if (exc_tb == NULL) { in _PyErr_WriteUnraisableMsg() 1480 if (exc_tb != NULL && exc_tb != Py_None && PyTraceBack_Check(exc_tb)) { in _PyErr_WriteUnraisableMsg() 1537 Py_XDECREF(exc_tb); in _PyErr_WriteUnraisableMsg() [all …]
|
/dports/devel/py-robotframework/robotframework-3.1.2/src/robot/running/ |
H A D | statusreporter.py | 41 def __exit__(self, exc_type, exc_val, exc_tb): argument 44 failure = self._get_failure(exc_type, exc_val, exc_tb, context) 58 def _get_failure(self, exc_type, exc_value, exc_tb, context): argument 68 exc_info = (exc_type, exc_value, exc_tb)
|
/dports/devel/py-aws-xray-sdk/aws-xray-sdk-2.8.0/aws_xray_sdk/core/ |
H A D | async_recorder.py | 13 async def __aexit__(self, exc_type, exc_val, exc_tb): argument 14 return self.__exit__(exc_type, exc_val, exc_tb) 39 async def __aexit__(self, exc_type, exc_val, exc_tb): argument 40 return self.__exit__(exc_type, exc_val, exc_tb)
|
/dports/biology/viennarna/ViennaRNA-2.4.18/interfaces/Python3/ |
H A D | file_py3.i | 143 PyObject *ret, *exc_type, *exc_value, *exc_tb; in dispose_file() local 145 exc_type = exc_value = exc_tb = NULL; in dispose_file() 146 PyErr_Fetch(&exc_type, &exc_value, &exc_tb); in dispose_file() 180 PyErr_Restore(exc_type, exc_value, exc_tb); in dispose_file() 186 Py_XDECREF(exc_tb); in dispose_file()
|
/dports/devel/py-anyio/anyio-3.4.0/src/anyio/_core/ |
H A D | _compat.py | 65 exc_tb: Optional[TracebackType]) -> Optional[bool]: 66 return self._cm.__exit__(exc_type, exc_val, exc_tb) 162 exc_tb: Optional[TracebackType]) -> Optional[bool]: 174 exc_tb: Optional[TracebackType]) -> Optional[bool]: 175 return self.__exit__(exc_type, exc_val, exc_tb)
|
/dports/devel/b2/B2_Command_Line_Tool-1.3.8/b2/ |
H A D | progress.py | 76 def __exit__(self, exc_type, exc_val, exc_tb): argument 205 def __exit__(self, exc_type, exc_val, exc_tb): argument 206 return self.stream.__exit__(exc_type, exc_val, exc_tb) 246 def __exit__(self, exc_type, exc_val, exc_tb): argument 247 return self.stream.__exit__(exc_type, exc_val, exc_tb) 305 def __exit__(self, exc_type, exc_val, exc_tb): argument 306 return self.stream.__exit__(exc_type, exc_val, exc_tb)
|
/dports/devel/py-trollius/trollius-2.2/trollius/ |
H A D | futures.py | 281 exc_tb = self._exception_tb 284 if exc_tb is not None: 285 compat.reraise(type(self._exception), self._exception, exc_tb) 360 def _set_exception_with_tb(self, exception, exc_tb): argument 371 if exc_tb is not None: 372 self._exception_tb = exc_tb 373 exc_tb = None
|
/dports/databases/py-gdbm/Python-3.8.12/Modules/ |
H A D | atexitmodule.c | 68 PyObject *exc_type = NULL, *exc_value, *exc_tb, *r; in atexit_callfuncs() local 95 Py_XDECREF(exc_tb); in atexit_callfuncs() 97 PyErr_Fetch(&exc_type, &exc_value, &exc_tb); in atexit_callfuncs() 100 PyErr_NormalizeException(&exc_type, &exc_value, &exc_tb); in atexit_callfuncs() 101 PyErr_Display(exc_type, exc_value, exc_tb); in atexit_callfuncs() 109 PyErr_Restore(exc_type, exc_value, exc_tb); in atexit_callfuncs()
|
/dports/lang/python37/Python-3.7.12/Modules/ |
H A D | atexitmodule.c | 68 PyObject *exc_type = NULL, *exc_value, *exc_tb, *r; in atexit_callfuncs() local 95 Py_XDECREF(exc_tb); in atexit_callfuncs() 97 PyErr_Fetch(&exc_type, &exc_value, &exc_tb); in atexit_callfuncs() 100 PyErr_NormalizeException(&exc_type, &exc_value, &exc_tb); in atexit_callfuncs() 101 PyErr_Display(exc_type, exc_value, exc_tb); in atexit_callfuncs() 109 PyErr_Restore(exc_type, exc_value, exc_tb); in atexit_callfuncs()
|
/dports/lang/python-tools/Python-3.8.12/Modules/ |
H A D | atexitmodule.c | 68 PyObject *exc_type = NULL, *exc_value, *exc_tb, *r; in atexit_callfuncs() local 95 Py_XDECREF(exc_tb); in atexit_callfuncs() 97 PyErr_Fetch(&exc_type, &exc_value, &exc_tb); in atexit_callfuncs() 100 PyErr_NormalizeException(&exc_type, &exc_value, &exc_tb); in atexit_callfuncs() 101 PyErr_Display(exc_type, exc_value, exc_tb); in atexit_callfuncs() 109 PyErr_Restore(exc_type, exc_value, exc_tb); in atexit_callfuncs()
|
/dports/lang/python38/Python-3.8.12/Modules/ |
H A D | atexitmodule.c | 68 PyObject *exc_type = NULL, *exc_value, *exc_tb, *r; in atexit_callfuncs() local 95 Py_XDECREF(exc_tb); in atexit_callfuncs() 97 PyErr_Fetch(&exc_type, &exc_value, &exc_tb); in atexit_callfuncs() 100 PyErr_NormalizeException(&exc_type, &exc_value, &exc_tb); in atexit_callfuncs() 101 PyErr_Display(exc_type, exc_value, exc_tb); in atexit_callfuncs() 109 PyErr_Restore(exc_type, exc_value, exc_tb); in atexit_callfuncs()
|
/dports/lang/python39/Python-3.9.9/Modules/ |
H A D | atexitmodule.c | 74 PyObject *exc_type = NULL, *exc_value, *exc_tb, *r; in atexit_callfuncs() local 101 Py_XDECREF(exc_tb); in atexit_callfuncs() 103 PyErr_Fetch(&exc_type, &exc_value, &exc_tb); in atexit_callfuncs() 106 PyErr_NormalizeException(&exc_type, &exc_value, &exc_tb); in atexit_callfuncs() 107 PyErr_Display(exc_type, exc_value, exc_tb); in atexit_callfuncs() 115 PyErr_Restore(exc_type, exc_value, exc_tb); in atexit_callfuncs()
|