]> granicus.if.org Git - python/commitdiff
Issue #12423: Fix os.abort() documentation
authorVictor Stinner <victor.stinner@haypocalc.com>
Fri, 8 Jul 2011 00:14:55 +0000 (02:14 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Fri, 8 Jul 2011 00:14:55 +0000 (02:14 +0200)
The Python signal handler for SIGABRT is not called on os.abort() (only if the
signal is raised manually or sent by another process). Patch by Kamil Kisiel.

Doc/ACKS.txt
Doc/library/os.rst

index 2aa031607e1407b9a79326248304a5c0f74a62d6..58896b0e7967f815de969e82144ce272c5f45f4a 100644 (file)
@@ -103,6 +103,7 @@ docs@python.org), and we'll be glad to correct the problem.
    * Robert Kern
    * Jim Kerr
    * Jan Kim
+   * Kamil Kisiel
    * Greg Kochanski
    * Guido Kollerie
    * Peter A. Koren
@@ -139,7 +140,7 @@ docs@python.org), and we'll be glad to correct the problem.
    * Ross Moore
    * Sjoerd Mullender
    * Dale Nagata
-   * Michal Nowikowski 
+   * Michal Nowikowski
    * Ng Pheng Siong
    * Koray Oner
    * Tomas Oppelstrup
index c2ea1be951bb1fb568287f4e27df07cfdbf5cfd9..c6e32f66a34f4dc124632127625e0947524e8fad 100644 (file)
@@ -1666,8 +1666,9 @@ to be ignored.
 
    Generate a :const:`SIGABRT` signal to the current process.  On Unix, the default
    behavior is to produce a core dump; on Windows, the process immediately returns
-   an exit code of ``3``.  Be aware that programs which use :func:`signal.signal`
-   to register a handler for :const:`SIGABRT` will behave differently.
+   an exit code of ``3``.  Be aware that calling this function will not call the
+   Python signal handler registered for :const:`SIGABRT` with
+   :func:`signal.signal`.
 
    Availability: Unix, Windows.