• Victor Stinner's avatar
    Restore changeset 5bd9db528aed (issue #18408) · 33824f6f
    Victor Stinner authored
    "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."
    33824f6f
typeobject.c 201 KB