mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
Replace abort with Py_FatalError.
This commit is contained in:
parent
22c001bd29
commit
3f19b10ca5
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
/* 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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue