summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-07-08 00:26:39 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-07-08 00:26:39 (GMT)
commit6e2e3b9e8188acca0d40df365f3d9595fad59991 (patch)
tree004dc517666b28f2fb1e2b8538a8ba79b307412b /Doc
parentf6cbdc22be81884463ef7a6fd5b3521eedea4071 (diff)
downloadcpython-6e2e3b9e8188acca0d40df365f3d9595fad59991.zip
cpython-6e2e3b9e8188acca0d40df365f3d9595fad59991.tar.gz
cpython-6e2e3b9e8188acca0d40df365f3d9595fad59991.tar.bz2
Issue #12423: Fix os.abort() documentation
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.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/ACKS.txt3
-rw-r--r--Doc/library/os.rst5
2 files changed, 5 insertions, 3 deletions
diff --git a/Doc/ACKS.txt b/Doc/ACKS.txt
index 7f67d36..1ad18f1 100644
--- a/Doc/ACKS.txt
+++ b/Doc/ACKS.txt
@@ -105,6 +105,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
@@ -142,7 +143,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
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index d712181..c412ee1 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -1582,8 +1582,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.