diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-08-21 12:40:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-21 12:40:42 (GMT) |
commit | d8c5adf6f83024238545aac0bb465289cc2dde84 (patch) | |
tree | 1353b930f65ba85e4bd4335d4ceb95618f10c9a3 /Parser/Python.asdl | |
parent | e0b6117e2723327d6741d0aa599408514add5b30 (diff) | |
download | cpython-d8c5adf6f83024238545aac0bb465289cc2dde84.zip cpython-d8c5adf6f83024238545aac0bb465289cc2dde84.tar.gz cpython-d8c5adf6f83024238545aac0bb465289cc2dde84.tar.bz2 |
bpo-37851: faulthandler allocates its stack on demand (GH-15358)
The faulthandler module no longer allocates its alternative stack at
Python startup. Now the stack is only allocated at the first
faulthandler usage.
faulthandler no longer ignores memory allocation failure when
allocating the stack. sigaltstack() failure now raises an OSError
exception, rather than being ignored.
The alternative stack is no longer used if sigaction() is
not available. In practice, sigaltstack() should only be available
when sigaction() is avaialble, so this change should have no effect
in practice.
faulthandler.dump_traceback_later() internal locks are now only
allocated at the first dump_traceback_later() call, rather than
always being allocated at Python startup.
Diffstat (limited to 'Parser/Python.asdl')
0 files changed, 0 insertions, 0 deletions