[Python-ideas] An idea for a new pickling tool

Bruce Frederiksen dangyogi at gmail.com
Wed Apr 22 03:13:20 CEST 2009


Guido van Rossum wrote:
> I recommend looking at Google Protocol Buffers
> (http://code.google.com/apis/protocolbuffers/), which have both a
> compact binary format (though not compressed -- but you can easily
> layer that) and a verbose text format. There's a nice Python-specific
> tutorial (http://code.google.com/apis/protocolbuffers/docs/pythontutorial.html)
> that also explains why you would use this.
>   
I was under the impression that Google Protocol Buffers neither allowed 
for dynamic typing, for example [1, "hi mom", []] nor for multiple 
references to the same object, for example: x = [1,2,3]; (x, x).

Have I missing something?

-bruce frederiksen



More information about the Python-ideas mailing list