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.003680604
Marked as misclassified No
Message-id <1205702162.93.0.846570819567.issue2307@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-03-16 21:16:03gvanrossumsetspambayes_score: 0.0036806 -> 0.003680604
recipients: + gvanrossum
2008-03-16 21:16:02gvanrossumsetspambayes_score: 0.0036806 -> 0.0036806
messageid: <1205702162.93.0.846570819567.issue2307@psf.upfronthosting.co.za>
2008-03-16 21:16:02gvanrossumlinkissue2307 messages
2008-03-16 21:16:01gvanrossumcreate