[Zope3-Users] Re: OrderedContainer.keys() does not return newely added key in ObjectAddedEvent

2007-02-20 Thread Philipp von Weitershausen
Alek Kowalczyk wrote: Hi, I have subscribed to the ObjectAddedEvent for my OrderedContainer. There is the a strange behavior in the event handler: - myObj is my contained object - myObj.__parent__ is my OrderedContainer. 1. this returns True when called in the event handler: myObj.__name__ in

Re: [Zope3-Users] Re: OrderedContainer.keys() does not return newely added key in ObjectAddedEvent

2007-02-20 Thread Marius Gedminas
On Tue, Feb 20, 2007 at 07:53:14PM +0100, Philipp von Weitershausen wrote: Alek Kowalczyk wrote: I have subscribed to the ObjectAddedEvent for my OrderedContainer. There is the a strange behavior in the event handler: - myObj is my contained object - myObj.__parent__ is my OrderedContainer.