Skip to content

Commit 0a83b0f

Browse files
ericsnowcurrentlyGlyphack
authored andcommitted
Revert "pythongh-76785: Print the Traceback from Interpreter.run() (pythongh-110248)" (pythongh-110314)
This reverts commit 6bc889a. That commit is causing some buildbot failures.
1 parent 4bf721b commit 0a83b0f

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy