Re: PyDispatcher question

2007-04-05 Thread Jorgen Bodde
Hi Mike, Thanks for the explanation! The Python shell really threw me off here. I thought it would work exactly the same as in the interpreter itself. :-) Even assigning None to the object exibits the same behaviour as "del" does. COOL! This is what I did sofar: from pydispatch import dispatche

Re: PyDispatcher question

2007-04-05 Thread Mike C. Fletcher
Jorgen Bodde wrote: > Hi all, > > Hopefully someone can help me. I am fairly new to Python, and I am > looking into PyDispatcher. I am familiar with the C++ sigslot variant, > and I wonder how similar PyDispatches is. I run in to the following > 'problem' (pseudo code, untested here) > Here's so

PyDispatcher question

2007-04-05 Thread Jorgen Bodde
Hi all, Hopefully someone can help me. I am fairly new to Python, and I am looking into PyDispatcher. I am familiar with the C++ sigslot variant, and I wonder how similar PyDispatches is. I run in to the following 'problem' (pseudo code, untested here) import pydispatch.dispatcher class A: def