]> granicus.if.org Git - python/commitdiff
Replace abort with Py_FatalError.
authorMartin v. Löwis <martin@v.loewis.de>
Wed, 7 Aug 2002 16:21:51 +0000 (16:21 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Wed, 7 Aug 2002 16:21:51 +0000 (16:21 +0000)
Modules/regexpr.c
Objects/object.c

index 8fe1321f2a590192913be9b3953051b30e1bd5bc..e6a541703d2db0172a5b146df8c2991a8258b99e 100644 (file)
@@ -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:
index e9251cc22d47cf1a052876ecace2c60938469b3d..70ff3eda0417530dce8feb9c217eaceb50855160 100644 (file)
@@ -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");
 }