Zach Riggle added the comment:
Of note, there's no need to actually cause a SIGSEGV to generate the signal.
The tests might be more clear to replace:
libc.printf(ctypes.c_char_p(0xdeadbeef))
with
os.kill(os.getpid(), signal.SIGSEGV)
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue29335>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com