[New-bugs-announce] [issue6784] bytw/unicode string incompatibilities between python2 and and python3
RonnyPfannschmidt
report at bugs.python.org
Wed Aug 26 13:56:13 CEST 2009
New submission from RonnyPfannschmidt <Ronny.Pfannschmidt at gmx.de>:
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
----------
components: None
messages: 91966
nosy: RonnyPfannschmidt
severity: normal
status: open
title: bytw/unicode string incompatibilities between python2 and and python3
type: behavior
versions: Python 2.6, Python 3.1
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6784>
_______________________________________
More information about the New-bugs-announce
mailing list