Replace abort with Py_FatalError.
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 @@
}
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 @@
/* 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");
}