[issue13285] signal module ignores external signal changes

Vilya Harvey report at bugs.python.org
Fri Oct 28 16:25:11 CEST 2011


Vilya Harvey <vilya.harvey at gmail.com> added the comment:

Could it return an opaque wrapper object, rather than just the raw address? Something like:

typedef struct _PyNativeSignalHandler {
  PyObject_HEAD
  sighandler_t handler_func;
} PyNativeSignalHandler;

where the type object doesn't expose any way to read or manipulate the handler_func. Would that work, do you think?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13285>
_______________________________________


More information about the Python-bugs-list mailing list