summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@gmail.com>2010-05-13 18:31:05 +0000
committerJeffrey Yasskin <jyasskin@gmail.com>2010-05-13 18:31:05 +0000
commita2109217d1e96e46c777ff4db7660c4aea072b4a (patch)
tree6418edd711430dedc91f0a26296b942f5986ccc8 /Python/pythonrun.c
parent7fec29b96babbe8ac34811982f0c0182460d7ef8 (diff)
downloadcpython-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