[neo-observer] push by pierre.t...@gmail.com - Use weak references of observer of type IObserver.... on 2011-04-19 04:57 GMT

0 views
Skip to first unread message

neo-ob...@googlecode.com

unread,
Apr 19, 2011, 12:58:13 AM4/19/11
to neo-c...@googlegroups.com
Revision: 97afe015cbae
Author: pierre.t...@gmail.com
Date: Mon Apr 18 21:57:08 2011
Log: Use weak references of observer of type IObserver.

Any callable can be used as an observer as long as the callable can be
called with the single event parameter or without argument at all.

When adding an observer, you can specify the method to be called on the
observer to receive the event.

Implementation changes: Using a type hierarchy instead of
a type flag for the different types of observers.
http://code.google.com/p/neo-observer/source/detail?r=97afe015cbae

Modified:
/neo_observer.py
/test_neo_observer.py

Reply all
Reply to author
Forward
0 new messages