commit | 8e0bdfd1d473ddffaf3501768678f8a970019da8 | [log] [tgz] |
---|---|---|
author | Jeffrey Yasskin <jyasskin@gmail.com> | Thu May 13 18:31:05 2010 +0000 |
committer | Jeffrey Yasskin <jyasskin@gmail.com> | Thu May 13 18:31:05 2010 +0000 |
tree | df31716c768c6512c72f40819f0cc752c7e742f4 | |
parent | f55621115cb2b73f60e7396cbade18a89a80d989 [diff] |
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.