From 3f19b10ca51ea84888f70405f75935c983271115 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Wed, 7 Aug 2002 16:21:51 +0000 Subject: [PATCH] Replace abort with Py_FatalError. --- Modules/regexpr.c | 2 +- Objects/object.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/regexpr.c b/Modules/regexpr.c index 8fe1321f2a5..e6a541703d2 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 e9251cc22d4..70ff3eda041 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"); }