Stopped using _gp_error static variable

Now call PyErr_SetString directly.