]> granicus.if.org Git - python/commit
Issue #10914: Py_NewInterpreter() uses PyErr_PrintEx(0)
authorVictor Stinner <victor.stinner@haypocalc.com>
Tue, 26 Apr 2011 22:20:27 +0000 (00:20 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Tue, 26 Apr 2011 22:20:27 +0000 (00:20 +0200)
commit1188935af9ff5b762c6b1eaacb1dffdf0208bb40
tree61b720b8a6c5d2df1801d29e39c953bbb5c2e226
parent90759a2a77d390eef843516fdcfe49f97a054edc
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.
Python/pythonrun.c