When i install python-cjson 1.0.5-1 from Fedora 8 package 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"'
Indeed the version i installed from source was 1.0.3 so this is not a bug.