[Python-checkins] cpython (3.4): faulthandler: _sigsegv() and _sigabrt() don't accept parameters

victor.stinner python-checkins at python.org
Tue Sep 30 14:06:35 CEST 2014


https://hg.python.org/cpython/rev/8379f7021375
changeset:   92655:8379f7021375
branch:      3.4
parent:      92652:8e5e19b3cd4e
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Tue Sep 30 13:49:09 2014 +0200
summary:
  faulthandler: _sigsegv() and _sigabrt() don't accept parameters

files:
  Modules/faulthandler.c |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Modules/faulthandler.c b/Modules/faulthandler.c
--- a/Modules/faulthandler.c
+++ b/Modules/faulthandler.c
@@ -1006,9 +1006,9 @@
     {"_read_null", faulthandler_read_null, METH_VARARGS,
      PyDoc_STR("_read_null(release_gil=False): read from NULL, raise "
                "a SIGSEGV or SIGBUS signal depending on the platform")},
-    {"_sigsegv", faulthandler_sigsegv, METH_VARARGS,
+    {"_sigsegv", faulthandler_sigsegv, METH_NOARGS,
      PyDoc_STR("_sigsegv(): raise a SIGSEGV signal")},
-    {"_sigabrt", faulthandler_sigabrt, METH_VARARGS,
+    {"_sigabrt", faulthandler_sigabrt, METH_NOARGS,
      PyDoc_STR("_sigabrt(): raise a SIGABRT signal")},
     {"_sigfpe", (PyCFunction)faulthandler_sigfpe, METH_NOARGS,
      PyDoc_STR("_sigfpe(): raise a SIGFPE signal")},

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list