summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.rst
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-07-08 00:27:06 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-07-08 00:27:06 (GMT)
commit2b49f12a636694bb880127901a43d821dec8a094 (patch)
treee66c7bf18fedbf41335a09cff75fd011e1a07d42 /Doc/library/os.rst
parent2cded9c3f31d2fea4b033f44eaa828e508f03391 (diff)
parent6e2e3b9e8188acca0d40df365f3d9595fad59991 (diff)
downloadcpython-2b49f12a636694bb880127901a43d821dec8a094.zip
cpython-2b49f12a636694bb880127901a43d821dec8a094.tar.gz
cpython-2b49f12a636694bb880127901a43d821dec8a094.tar.bz2
(merge 3.2) 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/library/os.rst')
-rw-r--r--Doc/library/os.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 2cdd102..447fa2e 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -2088,8 +2088,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.