On Wed, Feb 15, 2006 at 05:23:56PM -0800, Guido van Rossum wrote:

> >     from __future__ import unicode_strings

> 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 <[EMAIL PROTECTED]>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to