summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/regexpr.c2
-rw-r--r--Objects/object.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/regexpr.c b/Modules/regexpr.c
index 8fe1321..e6a5417 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 e9251cc..70ff3ed 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");
}