Fix Python 3 re-raising