[Python-Dev] from future import unicode_strings? (original) (raw)
Neil Schemenauer nas at arctrix.com
Thu Feb 16 03:49:11 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 Thu, Feb 16, 2006 at 02:43:02AM +0100, Thomas Wouters wrote:
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.
As Guido alluded, the global switch is useless. A per-module switch something that could actually useful. One nice advantage is that you would write code that works the same with Jython (wrt to string literals anyhow).
Neil
- 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 ]