[Python-3000] Marshal Version and Pickle Protocols
barry at python.org
Thu Apr 12 19:38:57 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
On Apr 12, 2007, at 1:34 PM, Guido van Rossum wrote:
> On 4/12/07, Barry Warsaw <barry at python.org> wrote:
>> On Apr 12, 2007, at 12:57 PM, Guido van Rossum wrote:
>> > On 4/12/07, Raymond Hettinger <python at rcn.com> wrote:
>> >> Can we drop the old protocols?
>> > I'd like to keep supporting the old pickle for data
>> > interchangeability, but default to pickle protocol 2, which has
>> > supported by Python for several versions.
>> +1, certainly for reading.
> Duh. For reading you don't need to specify a protocol, it finds out
> based on what it reads. The default is only necessary for writing.
I was actually responding to what I thought Raymond was suggesting,
but never mind, because I agree with you!
>> I wouldn't care too much if only protocol
>> 2 is supported for writing new pickles, but I'm probably -0 on
>> removing protocol 0 and 1 for writing.
> That is exactly my proposal.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
-----END PGP SIGNATURE-----
More information about the Python-3000