[Urwid] Bug: Signal module create backreferences
ian at excess.org
Sat Mar 6 14:50:22 EST 2010
Dominic LoBue wrote:
> I have a working implementation. By no means is it elegant, but it works.
> Basically instead of holding onto the specific method that is to be
> called when a signal is recieved, we instead hold onto a tuple of
> (ref(parentwithmethod), 'methodname'). When the signal is activated,
> we use getattr to get an instance of the method we want and then run
> that method.
> Working examples can be found here:
That's great, sounds like you're close to a good solution,
Why don't you fork urwid on github so I can see the changes a little
More information about the Urwid