• Victor Stinner's avatar
    Issue #23571: _Py_CheckFunctionResult() now gives the name of the function · b4737c4f
    Victor Stinner authored
    which returned an invalid result (result+error or no result without error) in
    the exception message.
    
    Add also unit test to check that the exception contains the name of the
    function.
    
    Special case: the final _PyEval_EvalFrameEx() check doesn't mention the
    function since it didn't execute a single function but a whole frame.
    b4737c4f
methodobject.c 11.1 KB