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 RonnyPfannschmidt, alexandre.vassalotti, gvanrossum, loewis, pitrou
Date 2009-08-27.13:53:40
SpamBayes Score 0.000144075
Marked as misclassified No
Message-id <1251381222.77.0.543410640096.issue6784@psf.upfronthosting.co.za>
In-reply-to
Content
The problem with trying to solve the following issue:
   "a bytes instance from python3 is pickled as custom class in
protocols <3"
is that if we pickle bytes from Python 3 as a 2.x str in protocol <= 2,
unpickling it using Python 3 will yield a str (unicode), not a bytes
object. Therefore the whole chain (pickling then unpickling) will not be
idempotent.
History
Date User Action Args
2009-08-27 13:53:43pitrousetrecipients: + pitrou, gvanrossum, loewis, alexandre.vassalotti, RonnyPfannschmidt
2009-08-27 13:53:42pitrousetmessageid: <1251381222.77.0.543410640096.issue6784@psf.upfronthosting.co.za>
2009-08-27 13:53:41pitroulinkissue6784 messages
2009-08-27 13:53:40pitroucreate