On Fri, 18 Feb 2005 21:43:52 +0100, Thomas Heller wrote:

>> 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 ;-)
> 
>>>> def f(**kw):
> ...   pass
> ...
>>>> f(**{"a": 0})
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> TypeError: f() keywords must be strings

That is possible:
>>> f(**{chr(ord("a")): 0})
>>>

WFM. SCNR,
Alexander
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to