[issue23325] Turn SIG_DFL and SIG_IGN into functions

Ethan Furman report at bugs.python.org
Thu Mar 19 16:51:50 CET 2015


Ethan Furman added the comment:

Thanks for the explanation, point taken.

However, it seems to me that changing the type of the constants from 'int' to 'function' is backwards incompatible, will break code, and is probably not worth it (and would require a deprecation period if it was worth it).

I still think the better answer is to delve into Modules/signalmodule.c and fix the comparisons.

----------

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


More information about the Python-bugs-list mailing list