Use PyErr_Occurred regardless of the state of the fp err flags and errormask.