From: Martin v. Löwis Date: Wed, 7 Aug 2002 16:21:51 +0000 (+0000) Subject: Replace abort with Py_FatalError. X-Git-Tag: v2.3c1~4632 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3f19b10ca51ea84888f70405f75935c983271115;p=thirdparty%2FPython%2Fcpython.git Replace abort with Py_FatalError. --- diff --git a/Modules/regexpr.c b/Modules/regexpr.c index 8fe1321f2a59..e6a541703d2d 100644 --- a/Modules/regexpr.c +++ b/Modules/regexpr.c @@ -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: diff --git a/Objects/object.c b/Objects/object.c index e9251cc22d47..70ff3eda0417 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -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"); }