[sqlalchemy] event.remove failure

2011-08-18 Thread sandro dentella
Hi, I started to play with events to port a library to sqla 0.7. I managed to use the 'listen' function but I failed on 'remove'. Looking at the signatures they seem to be just the same, but here is what I get: In [7]: event.listen(obj.__class__.title, 'set', listen_cb) In [8]:

Re: [sqlalchemy] event.remove failure

2011-08-18 Thread Michael Bayer
remove() isn't implemented yet.While the simple operation you see below would be fine for a single listener on a single target, the targets we have which propagate to subclasses (mapper events, attribute events) would require a more elaborate system that can revisit everywhere the event has