[issue2307] Decide what to do with bytes/str when transferring pickles between 2.6 and 3.0
Guido van Rossum
report at bugs.python.org
Mon Mar 17 23:58:17 CET 2008
Guido van Rossum <guido at python.org> added the comment:
Checked in as r61467.
When pickling a bytes instance in a protocol < 3, it is pickled as a
user-defined type (essentially faking a __reduce__ operation) which can
be read back correctly in 3.0 but probably not in 2.x.
----------
resolution: accepted -> fixed
status: open -> closed
versions: -Python 2.6
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2307>
__________________________________
More information about the Python-bugs-list
mailing list