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 dabeaz
Recipients dabeaz, mark.dickinson, r.david.murray, rhettinger
Date 2010-12-27.23:31:59
SpamBayes Score 0.0003121514
Marked as misclassified No
Message-id <1293492721.22.0.890776439576.issue10783@psf.upfronthosting.co.za>
In-reply-to
Content
Why is it even encoding at all?  Almost every other part of Python 3 forces you to be explicit about bytes/string conversion.  For example:

struct.pack("10s", x.encode('utf-8'))

Given that automatic conversion is documented, it's not clear what can be done at this point.  However, there are very few other parts of Python 3 that perform implicit string-byte conversions like this (at least that I know of off-hand).
History
Date User Action Args
2010-12-27 23:32:01dabeazsetrecipients: + dabeaz, rhettinger, mark.dickinson, r.david.murray
2010-12-27 23:32:01dabeazsetmessageid: <1293492721.22.0.890776439576.issue10783@psf.upfronthosting.co.za>
2010-12-27 23:31:59dabeazlinkissue10783 messages
2010-12-27 23:31:59dabeazcreate