mirror of https://github.com/python/cpython
Replace abort with Py_FatalError.
This commit is contained in:
parent
22c001bd29
commit
3f19b10ca5
|
@ -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:
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue