STINNER Victor added the comment: Charles-François Natali: > the crash occurs because the test doesn't reset the alarm (with alarm(0)) > upon exit, so if the alarm didn't go off during the test, it comes later when > the original signal handler has been reset, and the default handler just > exits. > (...) > Note that 3.4 and default aren't affected, because the alarm is properly > reset.
Right, I fixed this issue in the master branch: I proposed attached PR 3505 to backport the fix. ---------- nosy: +haypo _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue17085> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com