Using PyErrObject instead of PyBuildValue