]> granicus.if.org Git - python/commit
Patch #1583 by Adam Olsen.
authorGuido van Rossum <guido@python.org>
Wed, 19 Dec 2007 19:41:06 +0000 (19:41 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 19 Dec 2007 19:41:06 +0000 (19:41 +0000)
commit02de8979ccc09d1ef5162f64dbc9e546dae2da4e
treec7dcc55af17aa2cfe72b60f48353abbb2033e774
parent80016c95554677cd172610501446b096edfb267c
Patch #1583 by Adam Olsen.

This adds signal.set_wakeup_fd(fd) which sets a file descriptor to
which a zero byte will be written whenever a C exception handler runs.

I added a simple C API as well, PySignal_SetWakeupFd(fd).
Doc/c-api/exceptions.rst
Doc/library/signal.rst
Include/pyerrors.h
Lib/test/test_signal.py
Modules/signalmodule.c