summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2023-10-03 21:18:25 (GMT)
committerGitHub <noreply@github.com>2023-10-03 21:18:25 (GMT)
commit4467d2c3ac728f21af02594df5f151f29422c3a5 (patch)
tree508dcedceb78404e8fb2f3d36c692c109242d7a0 /Modules
parent6bc889aedc11cc8e0b9f57948a3d528ad2685497 (diff)
downloadcpython-4467d2c3ac728f21af02594df5f151f29422c3a5.zip
cpython-4467d2c3ac728f21af02594df5f151f29422c3a5.tar.gz
cpython-4467d2c3ac728f21af02594df5f151f29422c3a5.tar.bz2
Revert "gh-76785: Print the Traceback from Interpreter.run() (gh-110248)" (gh-110314)
This reverts commit 6bc889aedc11cc8e0b9f57948a3d528ad2685497. That commit is causing some buildbot failures.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_xxsubinterpretersmodule.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/_xxsubinterpretersmodule.c b/Modules/_xxsubinterpretersmodule.c
index 33feae8..700282e 100644
--- a/Modules/_xxsubinterpretersmodule.c
+++ b/Modules/_xxsubinterpretersmodule.c
@@ -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);