[ZODB-Dev] Strange lookup error...

Jim Fulton jim at zope.com
Sun Oct 18 05:55:30 EDT 2009


On Sat, Oct 17, 2009 at 12:49 PM, B. B. <thebbzoo at gmail.com> wrote:
...
> Background:
> -----------------------
> After update of
>  - an application, with some modules being renamed
>  - python from 2.5 to 2.6
>  - zodb
> an updatescript is called to refresh the broken objects.
> The objects are stored in dict of type <class
> 'zope.container.contained.ContainedProxy'> with a simple unicode key to the
> object mapping.

ContainedProxy isn't a container type.  It is a generic proxy that ads
__parent__ and __named__ attributes.  Does it actually proxy a Python
dict?  What does foo.__class__ return where foo is one of these
containers?

Jim

-- 
Jim Fulton


More information about the ZODB-Dev mailing list