cpython: 5a983773c09a (original) (raw)

Mercurial > cpython

changeset 69707:5a983773c09a 3.2

Issue #10914: Py_NewInterpreter() uses PyErr_PrintEx(0) ... instead of PyErr_Print() because we don't need to set sys attributes, the sys module is destroyed just after printing the error. [#10914]

Victor Stinner victor.stinner@haypocalc.com
date Wed, 27 Apr 2011 00:20:27 +0200
parents 08996a664ed3
children 2caf82aee7a4
files Python/pythonrun.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-)[+] [-] Python/pythonrun.c 2

line wrap: on

line diff

--- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -622,7 +622,7 @@ Py_NewInterpreter(void) handle_error: /* Oops, it didn't work. Undo it all. */