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.
Showing
Please
register
or
sign in
to comment