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.
This commit is contained in:
parent
9363dca3f8
commit
a038270590
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue