Kaydet (Commit) 3f19b10c authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Replace abort with Py_FatalError.

üst 22c001bd
...@@ -1243,7 +1243,7 @@ char *re_compile_pattern(unsigned char *regex, int size, regexp_t bufp) ...@@ -1243,7 +1243,7 @@ char *re_compile_pattern(unsigned char *regex, int size, regexp_t bufp)
} }
case Rquote: case Rquote:
{ {
abort(); Py_FatalError("Rquote");
/*NOTREACHED*/ /*NOTREACHED*/
} }
case Rbol: case Rbol:
......
...@@ -1782,7 +1782,7 @@ none_dealloc(PyObject* ignore) ...@@ -1782,7 +1782,7 @@ none_dealloc(PyObject* ignore)
/* This should never get called, but we also don't want to SEGV if /* This should never get called, but we also don't want to SEGV if
* we accidently decref None out of existance. * we accidently decref None out of existance.
*/ */
abort(); Py_FatalError("deallocating None");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment