[issue23325] Turn SIG_DFL and SIG_IGN into functions

Ethan Furman report at bugs.python.org
Tue Mar 17 19:13:15 CET 2015


Ethan Furman added the comment:

A private method is being added to Enum to better support Enum replacement of constants, part of which includes changing __reduce_ex__ to return the string of the name.

These changes answer points 1 and 4.

Point 2 would be nice, but seems somewhat less important if Enums are being used.

Point 3 -- I don't see how 'Signal(xxx, yyy)' is more complicated than 'Signal(xxx, zzz)'?

----------
nosy: +barry, eli.bendersky

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


More information about the Python-bugs-list mailing list