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?
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 ).remove( ) is used). If the
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(
method is called when the object is deallocated, then wouldn't __del__
be more appropriate?