SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72150 0 58 Python

Issue #23571: _Py_CheckFunctionResult() now gives the name of the function

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.
V
Victor Stinner committed
efde146b0c42f2643f96d00896c99a90d501fb69
Parent: 6921c13