PyThreadState_GET() complains if the tstate is NULL, but only in debug mode.
Attach a file by drag & drop or click to upload