• Victor Stinner's avatar
    Issue #23571: PyObject_Call(), PyCFunction_Call() and call_function() now · 4a7cc884
    Victor Stinner yazdı
    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.
    4a7cc884
cursor.c 34.4 KB