[Zope3-dev] Re: Event fixes

Dominik Huber dominik.huber at perse.ch
Mon Nov 28 13:30:06 EST 2005


Florent,
But at least the event notifications within the setitem function is kind 
of redundant.
An add-, move- and remove- event is a part of the container framework. 
Therefore we can assume that the underlying container referenced by the 
event.object.__parent__ has changed too.

file: zope.app.container.contained.py:

def setitem(container, setitemf, name, object):
    ...
    if event:
        notify(event)
        notifyContainerModified(container)


Regards,
Dominik


-------------- next part --------------
A non-text attachment was scrubbed...
Name: dominik.huber.vcf
Type: text/x-vcard
Size: 154 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope3-dev/attachments/20051128/d8e99a77/dominik.huber.vcf


More information about the Zope3-dev mailing list