store signal handlers using a dict instead of a list
store signal handlers using a dict instead of a list

This allows removing a signal handler using an arbitrary key, instead of
requiring to know the callback and all user arguments. This is needed to
support automatically disconnecting signal handlers when any of the
weakreferenced arguments are garbage collected.

urwid/urwid,harlowja/urwid,inducer/urwid,tonycpsu/urwid,ivanov/urwid,drestebon/urwid,rndusr/urwid,urwid/urwid,harlowja/urwid,douglas-larocca/urwid,inducer/urwid,urwid/urwid,hkoof/urwid,tonycpsu/urwid,tonycpsu/urwid,drestebon/urwid,inducer/urwid,douglas-larocca/urwid,foreni-packages/urwid,wardi/urwid,drestebon/urwid,ivanov/urwid,harlowja/urwid,foreni-packages/urwid,wardi/urwid,ivanov/urwid,rndusr/urwid,douglas-larocca/urwid,wardi/urwid,hkoof/urwid,foreni-packages/urwid,hkoof/urwid,rndusr/urwid