Replace abort with Py_FatalError.

This commit is contained in:
Martin v. Löwis 2002-08-07 16:21:51 +00:00
parent 22c001bd29
commit 3f19b10ca5
2 changed files with 2 additions and 2 deletions

View File

@ -1243,7 +1243,7 @@ char *re_compile_pattern(unsigned char *regex, int size, regexp_t bufp)
}
case Rquote:
{
abort();
Py_FatalError("Rquote");
/*NOTREACHED*/
}
case Rbol:

View File

@ -1782,7 +1782,7 @@ none_dealloc(PyObject* ignore)
/* This should never get called, but we also don't want to SEGV if
* we accidently decref None out of existance.
*/
abort();
Py_FatalError("deallocating None");
}