diff options
author | Jeffrey Yasskin <jyasskin@gmail.com> | 2010-05-13 18:31:05 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@gmail.com> | 2010-05-13 18:31:05 +0000 |
commit | a2109217d1e96e46c777ff4db7660c4aea072b4a (patch) | |
tree | 6418edd711430dedc91f0a26296b942f5986ccc8 /Python/pythonrun.c | |
parent | 7fec29b96babbe8ac34811982f0c0182460d7ef8 (diff) | |
download | cpython-a2109217d1e96e46c777ff4db7660c4aea072b4a.tar.gz |
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.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions