commit | 8e4783273709df286fb6a83506ead4df8483a695 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Thu Jul 18 01:49:30 2013 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Thu Jul 18 01:49:30 2013 +0200 |
tree | 007d4eca024d94eed5443aac681da95e5c5e7feb | |
parent | 4abda5d5b08f5ed09f4c72e7ba9726f89aaf8780 [diff] |
Issue #18408: PyObject_Str(), PyObject_Repr() and type_call() now fail with an assertion error if they are called with an exception set (PyErr_Occurred()). As PyEval_EvalFrameEx(), they may clear the current exception and so the caller looses its exception.