cjson 1.0.5 keyword argument

Clodoaldo clodoaldo.pinto at gmail.com
Sun Sep 14 16:46:34 CEST 2008


On Sep 14, 10:33 am, Clodoaldo <clodoaldo.pi... at gmail.com> wrote:
> I have installed cjson 1.05 in Fedora 8 (python 2.5.1).
>
> The cjson home page shows a keyword argument "encoding".http://python.cx.hu/python-cjson/
>
> When i use it i get an error:
>
> >>> cjson.encode('é', encoding='utf8')
>
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
> TypeError: encode() takes no keyword arguments
>
> What am i missing? There is no mail list for cjson.

The problem is the package from Fedora 8. When i install from source
it works.

Regards, Clodoaldo



More information about the Python-list mailing list