Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! fixup! fixup! fixup! fixup! fixup! Add tests for the fallback …
…option
  • Loading branch information
pablogsal committed Oct 11, 2023
commit a65d281802dcb3fa93665c36b3dcb6a903bda808
3 changes: 3 additions & 0 deletions Python/pythonrun.c
Original file line number Diff line number Diff line change
Expand Up @@ -1092,6 +1092,9 @@ _PyErr_Display(PyObject *file, PyObject *unused, PyObject *value, PyObject *tb)
return;
}
fallback:
#ifdef Py_DEBUG
_PyErr_WriteUnraisableMsg("in the internal traceback machinery", NULL);
#endif
PyErr_Clear();

struct exception_print_context ctx;
Expand Down