This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients alexandre.vassalotti, pitrou
Date 2011-08-27.12:59:49
SpamBayes Score 0.0013537975
Marked as misclassified No
Message-id <1314449993.09.0.0217958770024.issue12848@psf.upfronthosting.co.za>
In-reply-to
Content
In several opcodes (BINBYTES, BINUNICODE... what else?), _pickle.c happily accepts 32-bit lengths of more than 2**31, while pickle.py uses marshal's "i" typecode which means "signed"... and therefore fails reading the data.
Apparently, pickle.py uses marshal for speed reasons, but marshal doesn't support unsigned types.

(seen from http://bugs.python.org/issue11564)
History
Date User Action Args
2011-08-27 12:59:53pitrousetrecipients: + pitrou, alexandre.vassalotti
2011-08-27 12:59:53pitrousetmessageid: <1314449993.09.0.0217958770024.issue12848@psf.upfronthosting.co.za>
2011-08-27 12:59:50pitroulinkissue12848 messages
2011-08-27 12:59:49pitroucreate