type_call() now detect bugs in type new and init
* Call _Py_CheckFunctionResult() to check for bugs in type constructors (tp_new) * Add assertions to ensure an exception was raised if tp_init failed or that no exception was raised if tp_init succeed Refactor also the function to have less indentation.
V
Victor Stinner committed
99bb14bf0c4b9bdef2535710cc14abbdf5aa648a
Parent: 31eb5fb