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 gvanrossum
Recipients gvanrossum
Date 2008-03-16.21:16:00
SpamBayes Score 0.0036806
Marked as misclassified No
Message-id <>
A pickled str instance written by 2.6 currently unpickles under 3.0 as a
bytes instance. That would be correct if the intended use is binary
data, but it's wrong if the intended use is text. My hunch is that
there's more pickled text than binary data. (E.g. a dict containing
instance variables uses (8-bit) str instances for the keys; these *must*
be unpacked as (Unicode) str instances in 3.0.)

The inverse issue also exists.

We need to DECIDE this before starting to code (coding is probably
minimal).  I'm assigning the task to DECIDE (after discussion on the
list) to myself.
Date User Action Args
2008-03-16 21:16:03gvanrossumsetspambayes_score: 0.0036806 -> 0.0036806
recipients: + gvanrossum
2008-03-16 21:16:02gvanrossumsetspambayes_score: 0.0036806 -> 0.0036806
messageid: <>
2008-03-16 21:16:02gvanrossumlinkissue2307 messages
2008-03-16 21:16:01gvanrossumcreate