Don't call PyErr_NewException() if an exception is set, or type_call() would fail with an assertion error.
Attach a file by drag & drop or click to upload