mirror of
https://github.com/python/cpython.git
synced 2025-10-27 16:57:08 +00:00
(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.
This commit is contained in:
commit
2b49f12a63
2 changed files with 5 additions and 3 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue