Ville M. Vainio wrote:

in case of stocks, you are probably monitoring several

stock objects, so the stock should probably pass itself to

the observer



OK. This is related to my question #2 (in a separate
thread), where I'd also appreciate your comments.





analogous to a typical UI scenario where you have several

widgets forwarding events to one big observer - and they

*do* provide the event source and event type.



That is a helpful comparison.





All in all, though, the right solution should be obvious

from the problem at hand.



For CS types, maybe. The rest of us are just trying to get
things done without as much background and context.



Thanks,

Alan


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to