Skip to content

Commit 4467d2c

Browse files
Revert "gh-76785: Print the Traceback from Interpreter.run() (gh-110248)" (gh-110314)
This reverts commit 6bc889a. That commit is causing some buildbot failures.
1 parent 6bc889a commit 4467d2c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Modules/_xxsubinterpretersmodule.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -450,10 +450,6 @@ _run_script(PyInterpreterState *interp, const char *codestr,
450450
"RunFailedError: script raised an uncaught exception (%s)",
451451
failure);
452452
}
453-
// XXX Instead, store the rendered traceback on sharedexc,
454-
// attach it to the exception when applied,
455-
// and teach PyErr_Display() to print it.
456-
PyErr_Display(NULL, excval, NULL);
457453
Py_XDECREF(excval);
458454
if (errcode != ERR_ALREADY_RUNNING) {
459455
_PyInterpreterState_SetNotRunningMain(interp);

0 commit comments

Comments
 (0)