python-cjson package in F8

Clodoaldo Pinto Neto clodoaldo.pinto.neto at gmail.com
Sun Sep 14 15:00:24 UTC 2008


When i install cjson from the python-cjson 1.0.5 package from Fedora 8
i get this error:

>>> cjson.encode('é', encoding='utf8')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: encode() takes no keyword arguments

But when installed from source it works:

>>> cjson.encode('é', encoding='utf-8')
'"\\u00e9"'

Regards, Clodoaldo




More information about the users mailing list