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 RonnyPfannschmidt
Recipients RonnyPfannschmidt
Date 2009-08-26.11:56:11
SpamBayes Score 1.17792e-06
Marked as misclassified No
Message-id <1251287773.44.0.222300610244.issue6784@psf.upfronthosting.co.za>
In-reply-to
Content
i just noticed that there are some slight differences of the
bytestring/unicodestring pickles between python2/3 using the protocols
0, 1 and 2

the first things i noticed are:

a str from python2 is unpickled as unicode in python3
(fails for byte strings that don't fit whats expected for unicode)


a bytes instance from python3 is pickled as custom class in protocols <3

i'll write a script to try all combinations of protocols and string
variations and transfer directions
History
Date User Action Args
2009-08-26 11:56:13RonnyPfannschmidtsetrecipients: + RonnyPfannschmidt
2009-08-26 11:56:13RonnyPfannschmidtsetmessageid: <1251287773.44.0.222300610244.issue6784@psf.upfronthosting.co.za>
2009-08-26 11:56:11RonnyPfannschmidtlinkissue6784 messages
2009-08-26 11:56:11RonnyPfannschmidtcreate