Kaydet (Commit) a0382705 authored tarafından Jack Jansen's avatar Jack Jansen

MacPython-OS9 has had an abort() function for quite a while now, so there's no…

MacPython-OS9 has had an abort() function for quite a while now, so there's no reason to stall in an endless loop, just call abort() on a fatal error.
üst 9363dca3
......@@ -1323,9 +1323,6 @@ void
Py_FatalError(const char *msg)
{
fprintf(stderr, "Fatal Python error: %s\n", msg);
#ifdef macintosh
for (;;);
#endif
#ifdef MS_WINDOWS
OutputDebugString("Fatal Python error: ");
OutputDebugString(msg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment