[Python-Dev] Allowing Unicode literals even without Unicode support?
Guido van Rossum
guido@python.org
Fri, 24 May 2002 20:24:07 -0400
> I'm not sure having to write unicode("...") instead of u"..."
> qualifies as "hard", but life would be a bit easier if we didn't
> have to...
Life's hard enough without artificial discomfort.
> > Should we perhaps silently interpret Unicode literals as regular string
> > literals when compiling without Unicode support?
>
> +1.0 on silently accepting ASCII-only u-literals also in non-
> unicode builds.
>
> -0.2 on silently accepting non-ASCII u-literals (your patch
> didn't deal with that, right?).
No, all I did was skip the 'u'.
--Guido van Rossum (home page: http://www.python.org/~guido/)