[issue6137] Make pickle generated by Python 3.x compatible with 2.x and vice-versa.

Guido van Rossum report at bugs.python.org
Tue Jun 9 21:26:41 CEST 2009


Guido van Rossum <guido at python.org> added the comment:

On Tue, Jun 9, 2009 at 12:16 PM, Antoine Pitrou<report at bugs.python.org> wrote:
>
> Antoine Pitrou <pitrou at free.fr> added the comment:
>
>> Ah. How about only doing back-translation when protocol=2 (or lower)
>> is explicitly selected?
>
> Well, this is exactly what is implemented!

Ah, I missed that. Fine then!

>> I don't much like that 3.0 will be to read pickles written by 3.1 with
>> the default protocol (i.e. 3),
>
> I suppose you meant to say "will be unable",

Indeed.

> but it isn't, since
> protocol 3 pickles are not affected at all by this patch.

Good.

So I'm okay with the status quo -- too bad 3.0 can't read those
pickles, but that's the deal with abandoning 3.0...

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6137>
_______________________________________


More information about the Python-bugs-list mailing list