[Python-Dev] (Not) delaying the 3.2 release

Barry Warsaw barry at python.org
Thu Sep 16 15:52:48 CEST 2010


On Sep 16, 2010, at 11:28 PM, Nick Coghlan wrote:

>There are some APIs that should be able to handle bytes *or* strings,
>but the current use of string literals in their implementation means
>that bytes don't work. This turns out to be a PITA for some networking
>related code which really wants to be working with raw bytes (e.g.
>URLs coming off the wire).

Note that email has exactly the same problem.  A general solution -- even if
embodied in *well documented* best-practices and convention -- would really
help make the stdlib work consistently, and I bet third party libraries too.

-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20100916/814e82a9/attachment.pgp>


More information about the Python-Dev mailing list