Dave Malcolm <[email protected]> added the comment:
The 'u' prefix went away in Python 3, use an unadorned '' or "" for a unicode
value.
$ python3
Python 3.1.2 (r312:79147, May 25 2010, 12:21:57)
[GCC 4.4.3 20100422 (Red Hat 4.4.3-18)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> u"foo"
File "<stdin>", line 1
u"foo"
^
SyntaxError: invalid syntax
----------
nosy: +dmalcolm
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue2454>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com