[issue5180] 3.1 cannot unpickle 2.7-created pickle

Alexander Belopolsky report at bugs.python.org
Sun Jul 18 01:02:55 CEST 2010

Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

Committed issue5180b.diff with minor additions in r82937 (r82938 for 3.1):

1.  Added an assert that args is a tuple in instantiate() with an explanation why it is true.

2.  Added a test for the other code branch instantiate. (Not all conditions are tested, but I think this is now good enough.)

The explanation of INST and OBJ opcodes in pickletools is now out of date, so I am adding #9267 as a superseder.

resolution: accepted -> fixed
stage: commit review -> committed/rejected
status: open -> closed
superseder:  -> Update pickle opcode documentation in pickletools for 3.x

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list