SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72156 0 70 Python

Issue #23571: PyObject_Call(), PyCFunction_Call() and call_function() now

raise a SystemError if a function returns a result and raises an exception.
The SystemError is chained to the previous exception.

Refactor also PyObject_Call() and PyCFunction_Call() to make them more readable.

Remove some checks which became useless (duplicate checks).

Change reviewed by Serhiy Storchaka.
V
Victor Stinner committed
4a7cc8847276df27c8f52987cda619ca279687c2
Parent: d81431f