mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
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
1 changed files with 0 additions and 3 deletions
|
@ -1323,9 +1323,6 @@ void
|
||||||
Py_FatalError(const char *msg)
|
Py_FatalError(const char *msg)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Fatal Python error: %s\n", msg);
|
fprintf(stderr, "Fatal Python error: %s\n", msg);
|
||||||
#ifdef macintosh
|
|
||||||
for (;;);
|
|
||||||
#endif
|
|
||||||
#ifdef MS_WINDOWS
|
#ifdef MS_WINDOWS
|
||||||
OutputDebugString("Fatal Python error: ");
|
OutputDebugString("Fatal Python error: ");
|
||||||
OutputDebugString(msg);
|
OutputDebugString(msg);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue