Comment 1 for bug 252405

Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

Hey Jamu!

What are the exact semantics you'd expect for the method?

If the method is called when the object is removed from the Store, I'm
afraid people might use it in place of triggers, which is dangerous
considering that this "trigger" only is called when the object is effectively
in memory (e.g., and not when store.find().remove() is used). If the
method is called when the object is deallocated, then wouldn't __del__
be more appropriate?