diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-08-07 16:21:51 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-08-07 16:21:51 (GMT) |
commit | 3f19b10ca51ea84888f70405f75935c983271115 (patch) | |
tree | 755363cee3802ccbde255f494c79be6c679ebb6b | |
parent | 22c001bd295a3481687bd9224c71a0f6b275f8aa (diff) | |
download | cpython-3f19b10ca51ea84888f70405f75935c983271115.zip cpython-3f19b10ca51ea84888f70405f75935c983271115.tar.gz cpython-3f19b10ca51ea84888f70405f75935c983271115.tar.bz2 |
Replace abort with Py_FatalError.
-rw-r--r-- | Modules/regexpr.c | 2 | ||||
-rw-r--r-- | Objects/object.c | 2 |
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"); } |