[issue13505] Bytes objects pickled in 3.x with protocol <=2 are unpickled incorrectly in 2.x
report at bugs.python.org
Wed Nov 30 23:48:26 CET 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
After a bit of testing, my idea was flawed, as str() doesn't accept an encoding parameter in 2.x: `str(u'foo', 'latin1')` simply raises a TypeError.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list