[Python-Dev] from future import unicode_strings? (original) (raw)
Thomas Wouters thomas at xs4all.net
Thu Feb 16 02:43:02 CET 2006
- Previous message: [Python-Dev] from __future__ import unicode_strings?
- Next message: [Python-Dev] from __future__ import unicode_strings?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Feb 15, 2006 at 05:23:56PM -0800, Guido van Rossum wrote:
> from future import unicodestrings
Didn't we have a command-line option to do this? I believe it was removed because nobody could see the point. (Or am I hallucinating? After several days of non-stop discussing bytes that must be considered a possibility.)
We do, and it's not been removed: the -U switch.
Python 2.3.5 (#2, Nov 21 2005, 01:27:27)
"" u'' Python 2.4.2 (#2, Nov 21 2005, 02:24:28) "" u'' Python 2.5a0 (trunk:42390, Feb 16 2006, 00:12:03) "" u''
I've never seen it used, though, and IIRC there were quite a number of stdlib modules that broke when you used it, at least back when it was introduced.
-- Thomas Wouters <thomas at xs4all.net>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
- Previous message: [Python-Dev] from __future__ import unicode_strings?
- Next message: [Python-Dev] from __future__ import unicode_strings?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]