On Aug 18, 2011, at 5:01 PM, sandro dentella wrote: > > > Not sure what you mean exactly here, but if the point is: "why I want > to use 'remove'". It's just that when I destroy the GUI widget that > displays data I'd like to remove the listener to be sure no reference > tries to keep my object in memory. As of now I see that callbacks are > still called.
ah OK so I'd build a system of indirection whereby you register a single event function with SQLAlchemy, then you have a simple "add/remove" system for that. The event listener would access the current list of GUI listeners, and that's the list you mutate. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.