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 vstinner
Recipients amaury.forgeotdarc, dabeaz, mark.dickinson, r.david.murray, rhettinger, vstinner
Date 2010-12-28.09:07:10
SpamBayes Score 1.545051e-05
Marked as misclassified No
Message-id <1293527280.24502.3.camel@marge>
In-reply-to <1293522111.36.0.12330270928.issue10783@psf.upfronthosting.co.za>
Content
Amaury> At this point a feature change seems unlikely,
Amaury> but it's not too late to emit a DeprecationWarning.

I prefer to break the API today than having to maintain a broken API for
10 or 20 years :-)  And we have a very small user base using Python 3,
it's easier to change it now, than in the next release.

Amaury> But there are probably working usages with unicode strings out
Amaury> there. For example, I've seen code like
Amaury> struct.pack('<6sHHBBB','GIF87a', ...)
Amaury> Do you suggest to make this 3.1 code stop working in 3.2?

Yes. As I wrote in my previous message, this can be changed to
struct.pack('<6sHHBBB', b'GIF87a', ...), which works on 3.1 and 3.2
(patched).
History
Date User Action Args
2010-12-28 09:07:13vstinnersetrecipients: + vstinner, rhettinger, amaury.forgeotdarc, mark.dickinson, r.david.murray, dabeaz
2010-12-28 09:07:11vstinnerlinkissue10783 messages
2010-12-28 09:07:10vstinnercreate