[Zope-dev] Re: [Zope2] ZODB load optimization ineffective due to ExtensionClass flaw

M. Krainer mkrainer05 at gmail.com
Mon Mar 20 00:09:09 EST 2006


>    http://www.zope.org/Collectors/Zope/2042

Is there a chance that this will make it into the Zope-2.8.7 release?

-- Markus



On 3/9/06, Dieter Maurer <dieter at handshake.de> wrote:
>
> Jim Fulton wrote at 2006-3-8 10:46 -0500:
> >Dieter Maurer wrote:
> >> The ZODB allows to include the class (a reference to it)
> >> into persistent references in order to avoid loading the object
> >> state when a ghost object needs
> >> to be created for the persistent reference.
> >>...
> >> Unfortunately, "ExtensionClass.Base" defines "__getnewargs__".
> >> It is the base class for all Zope2 classes. Zope2 persistent
> >> references are not optimized...
> >>...
>
> [Jim]
> >I'd have to review this, but I'm pretty sure that we dealt with this
> >issue, but I could be mistaken.
>
> After I have checked that the Zope[2] SVN trunk version, too, cannot
> use the optimization, I filed a feature request with solution:
>
>     http://www.zope.org/Collectors/Zope/2042
>
> I adapted the "ExtensionClass" tests and verified that all
> tests in my Zope 2.8.1 installation continue to work despite my change.
>
>
>
> --
> Dieter
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev at zope.org
> http://mail.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope )
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-dev/attachments/20060320/f6f0b678/attachment.htm


More information about the Zope-Dev mailing list