Make PyErr_Occurred return NULL if there is no current thread. Previously it
would Py_FatalError, which called PyErr_Occurred, resulting in a semi-infinite recursion. Fixes issue 3605.
J
Jeffrey Yasskin committed
8e0bdfd1d473ddffaf3501768678f8a970019da8
Parent: f556211