In ExportImport._importDuringCommit() I found this little gem:
pfile = StringIO(data)
unpickler = Unpickler(pfile)
unpickler.persistent_load = persistent_load
newp = StringIO()
pickler = Pickler(newp, 1)
On Apr 26, 2007, at 2:13 AM, Paul Winkler wrote:
In ExportImport._importDuringCommit() I found this little gem:
pfile = StringIO(data)
unpickler = Unpickler(pfile)
unpickler.persistent_load = persistent_load
newp = StringIO()
On Thu, Apr 26, 2007 at 10:10:17AM -0400, Jim Fulton wrote:
On Apr 26, 2007, at 2:13 AM, Paul Winkler wrote:
In ExportImport._importDuringCommit() I found this little gem:
pfile = StringIO(data)
unpickler = Unpickler(pfile)
unpickler.persistent_load =
On Thu, Apr 26, 2007 at 10:51:55AM -0400, Jim Fulton wrote:
Old-style extension classes become new-style classes in Zope 2.8 and
later. Extension Classes *are* new stype classes in Zope 2.8 and
beyond.
That's what I thought. But my .zexp came from Zope 2.7.8 instance, and
I'm loading it
On Apr 26, 2007, at 11:17 AM, Paul Winkler wrote:
On Thu, Apr 26, 2007 at 10:51:55AM -0400, Jim Fulton wrote:
Old-style extension classes become new-style classes in Zope 2.8 and
later. Extension Classes *are* new stype classes in Zope 2.8 and
beyond.
That's what I thought. But my .zexp
Paul Winkler wrote at 2007-4-26 02:13 -0400:
In ExportImport._importDuringCommit() I found this little gem:
pfile = StringIO(data)
unpickler = Unpickler(pfile)
unpickler.persistent_load = persistent_load
newp = StringIO()
pickler =
I've just checked in a fair bit of re-factoring to try to define
reasonable storage interfaces. The results can be found at:
http://svn.zope.org/ZODB/trunk/src/ZODB/interfaces.py?view=auto
and
http://svn.zope.org/ZODB/trunk/src/ZEO/interfaces.py?view=auto
Some notes:
- I added a new