[issue22762] PyObject_Call called with an exception set while displaying a traceback

2014-10-30 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the report and the patch. It was not easy to reproduce the issue, but I reproduced the assertion error. I'm not sure that it's useful to add an unit test. -- resolution: -> fixed status: open -> closed _

[issue22762] PyObject_Call called with an exception set while displaying a traceback

2014-10-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9dddc95ef31e by Victor Stinner in branch '3.4': Issue #22762: Fix _Py_DisplaySourceLine(), clear the exception if https://hg.python.org/cpython/rev/9dddc95ef31e New changeset f4f5b942e5e0 by Victor Stinner in branch 'default': (Merge 3.4) Issue #227

[issue22762] PyObject_Call called with an exception set while displaying a traceback

2014-10-29 Thread Xavier de Gaye
Xavier de Gaye added the comment: Looks similar to the problem fixed at changeset 298d98486794 by Victor Stinner. -- nosy: +haypo ___ Python tracker ___ _

[issue22762] PyObject_Call called with an exception set while displaying a traceback

2014-10-29 Thread Xavier de Gaye
New submission from Xavier de Gaye: To reproduce the crash run the following two-lines script and, at the fisrt (Pdb) prompt, remove the last line of this script (and the following empty lines if any): import pdb; pdb.set_trace() x = 1 then issue the 'quit' pdb command. This will cause an ass