Message92002
| Author |
pitrou |
| Recipients |
RonnyPfannschmidt, alexandre.vassalotti, gvanrossum, loewis, pitrou |
| Date |
2009年08月27日.13:53:40 |
| SpamBayes Score |
0.00014407451 |
| 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. |
|