mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Revert "gh-76785: Print the Traceback from Interpreter.run() (gh-110248)" (gh-110314)
This reverts commit 6bc889aedc.
That commit is causing some buildbot failures.
This commit is contained in:
parent
6bc889aedc
commit
4467d2c3ac
1 changed files with 0 additions and 4 deletions
|
|
@ -450,10 +450,6 @@ error:
|
|||
"RunFailedError: script raised an uncaught exception (%s)",
|
||||
failure);
|
||||
}
|
||||
// XXX Instead, store the rendered traceback on sharedexc,
|
||||
// attach it to the exception when applied,
|
||||
// and teach PyErr_Display() to print it.
|
||||
PyErr_Display(NULL, excval, NULL);
|
||||
Py_XDECREF(excval);
|
||||
if (errcode != ERR_ALREADY_RUNNING) {
|
||||
_PyInterpreterState_SetNotRunningMain(interp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue