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

"Martin v. Löwis" martin at v.loewis.de
Fri Mar 21 22:09:28 CET 2008


>> Neither could I. I vaguely remember having people mention it, but
>> could not find anything, either. Perhaps you need to get
>> approval/agreement first in a separate thread.
> 
> Doesn't the code for the -U flag do exactly this?

Not exactly. The future import does it on a per-module basis;
the -U flag globally.

I don't think the -U flag works already. It will only
(kind of) work in 3k :-)

Regards,
Martin


More information about the Python-3000 mailing list