[Python-Dev] readd u'' literal support in 3.3?

Barry Warsaw barry at python.org
Fri Dec 9 16:13:17 CET 2011


On Dec 09, 2011, at 09:20 AM, Martin v. Löwis wrote:

>One use case (and the only one I'm aware of) is to pass keyword
>parameters. Python 2 insists that they are str (and doesn't accept
>unicode), Python 3 insists that they are str (and doesn't accept bytes).
>
>This is fairly uncommon as a problem, though, and is also solved in
>Python 2.6, which does accept Unicode strings as keyword parameter
>names.

Oh, I remember this one, because I think I reported and fixed it.  But I take
it as a given that Python 2.6 is the minimal (sane) version to target for
one-codebase cross-Python code.

-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/20111209/17fdcef2/attachment.pgp>


More information about the Python-Dev mailing list