[PyPy-issue] [issue661] [PATCH] Support for PyOS_[gs]etsig

Martijn pypy-dev-issue at codespeak.net
Sun Mar 6 18:14:54 CET 2011


New submission from Martijn <ss at kleptog.org>:

Support for the PyOS_[gs]etsig functions.

It may seem odd that these functions do not interact with the rest of the system
(i.e. their effects are not visible in the signal module) but this is apparently
intentional, CPython works the same way.  The signal handlers defined in the
signal module apparently define what happens if the normal Python signal handler
is called.

I chose to put the functions into a new file pysignals but it could easily be
added to another file, such as pythonrun, instead.

The actual C code for PyOS_[gs]etsig was copied from the Python codebase. I
don't believe this is a problem, but it might be.

----------
effort: ???
files: PyOS_signals.patch
messages: 2266
nosy: kleptog, pypy-issue
priority: feature
release: ???
status: unread
title: [PATCH] Support for PyOS_[gs]etsig

_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue661>
_______________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PyOS_signals.patch
Type: text/x-diff
Size: 6210 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pypy-issue/attachments/20110306/e0e2ee7d/attachment.patch>


More information about the Pypy-issue mailing list