Comment 8 for bug 98275

Revision history for this message
Jim Fulton (jim-zope) wrote : Re: [Bug 98275] Re: ZEO versus creative __getstate__

On Oct 11, 2007, at 3:24 AM, Christian Theune wrote:
...
> My first guess was that this would be in cPersistence.c, but I
> couldn't
> find a place where it would fit there (I don't know that code well
> though).

It's way to complicated. Philosophically, the persistence framework
should be minimal and be primarily responsible to notifying data
managers of certain events.

> The other place I can think of to do this would be serialize.py
> where it
> sets the oid and connection (around line 325 on the trunk).

Right. As an aside, the ZODB implementation is overly complex
(overly abstract) IMO. The code in serialize should be moved back
to Connection where it belongs. Not now of course. :)

Jim

--
Jim Fulton
Zope Corporation