[Python-3000] u'text' as an alias for 'text'?

Lennart Regebro regebro at gmail.com
Thu Mar 20 16:57:05 CET 2008


On Thu, Mar 20, 2008 at 3:20 PM, Ralf Schmitt <schmir at gmail.com> wrote:
> Will python 2.6 have something like "from future import
> unicode_string_literals" ?
> This should also solve lennart's problem. (But then py3k would need to
> support that future import, which
>  is forbidden).

A try/except around that future import solves that, so that isn't any
problem. Indeed, this would solve the problem without changing 3.0, it
would instead be a change in 2.6. Sounds good to me.

-- 
Lennart Regebro: Zope and Plone consulting.
http://www.colliberty.com/
+33 661 58 14 64


More information about the Python-3000 mailing list