Re: [ZODB-Dev] Import/Export code

2007-08-15 Thread David Binger
On Aug 15, 2007, at 9:34 AM, Christian Theune wrote: pfile = StringIO(data) unpickler = Unpickler(pfile) unpickler.persistent_load = persistent_load newp = StringIO() pickler = Pickler(newp, 1) pickler.persistent_id =

[ZODB-Dev] Import/Export code

2007-08-15 Thread Christian Theune
Hi, unfortunately the history in SVN doesn't go back far enough to answer my question. I stumbled over a problem while importing a ZEXP file and found this code in ExportImport.py, around line 177/178: pfile = StringIO(data) unpickler = Unpickler(pfile)

Re: [ZODB-Dev] Import/Export code

2007-08-15 Thread Jim Fulton
On Aug 15, 2007, at 9:44 AM, David Binger wrote: On Aug 15, 2007, at 9:34 AM, Christian Theune wrote: pfile = StringIO(data) unpickler = Unpickler(pfile) unpickler.persistent_load = persistent_load newp = StringIO() pickler =