> no_signals? signals_disabled? This would give something like:
>
>        with no_signals:
>            ...
>
>        with signals_disabled:
>            ...
>
>
The current names in Sage of _sig_on/_sig_off are a bit confusing and the
names no_signals or signals_disabled carry forward that confusion.

There is always a signal handler installed in Python.  As I understand it,
_sig_on, simply replaces the default signal handler with one that works
better with C extension code.  Likewise, _sig_off, doesn't turns signals
off, it restore Python's default signal handler.

Thus, maybe something more like c_signals, cython_signals, extra_signals,
signals, etc. would be a better name.  I am horrible at naming things
though.

Cheers,

Brian

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to