unicode encoding usablilty problem
Thomas Heller
theller at python.net
Fri Feb 18 15:43:52 EST 2005
=?ISO-8859-15?Q?=22Martin_v=2E_L=F6wis=22?= <martin at v.loewis.de> writes:
> Eventually, the primary string type should be the Unicode
> string. If you are curious how far we are still off that goal,
> just try running your program with the -U option.
Not very far - can't even call functions ;-)
c:\>py -U
Python 2.5a0 (#60, Dec 29 2004, 11:27:13) [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> def f(**kw):
... pass
...
>>> f(**{"a": 0})
Traceback (most recent call last):
File "<stdin>", line 1, in ?
TypeError: f() keywords must be strings
>>>
Thomas
More information about the Python-list
mailing list