[ZODB-Dev] Zodb with Yaml

Chris McDonough chrism at plope.com
Sun Mar 19 15:23:12 EST 2006


Hmm.   A scan of the files in ZODB and persistence also turn up the  
conflict resolution code, the import/export machinery, and  
FileStorage.  And a bunch of tests.  And maybe the pickle cache and  
cPersistence.c (although I haven't looked closely enough at that code  
to know if it would need to be modified, maybe the function names in  
the code are misleading).

- C

On Mar 19, 2006, at 2:37 PM, Dieter Maurer wrote:

> Chris McDonough wrote at 2006-3-18 20:58 -0500:
>> If yaml (or pysyck) supports all of the features of pickle, it's
>> theoretically possible.  You would need to track down all of the
>> places in ZODB where the code serializes and deserializes data from
>> pickle format and write alternate serializing/deserializing logic.
>>
>> But AFAIK the serialization code in ZODB is not very "pluggable".
>
> I am much more optimistic.
>
>     I think only "ZODB/serialize.py" and "ZODB/Connection.py"
>     would need to be modified.
>
> -- 
> Dieter
>



More information about the ZODB-Dev mailing list