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

Barry Warsaw barry at python.org
Tue Dec 13 23:52:54 CET 2011


On Dec 14, 2011, at 08:38 AM, Nick Coghlan wrote:

>String translation is also an open question. For some codebases, you
>want both u"" and "" to translate to a Unicode "" (either in Py3k or
>via the future import)

I have a fixer for this:

http://bazaar.launchpad.net/~barry/flufl.i18n/devel/view/head:/myfixers/fix_ugettext.py

(or maybe by "translation" you don't mean "gettext").

Cheers,
-Barry


More information about the Python-Dev mailing list