Bug 462227

Summary: Error when using python-cjson package 1.0.5-1.fc8
Product: [Fedora] Fedora Reporter: Clodoaldo Pinto Neto <clodoaldo.pinto.neto>
Component: python-cjsonAssignee: Toshio Ernie Kuratomi <a.badger>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: 8CC: fschwarz
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-14 16:52:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Clodoaldo Pinto Neto 2008-09-14 15:28:43 UTC
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"'

Comment 1 Clodoaldo Pinto Neto 2008-09-14 16:52:29 UTC
Indeed the version i installed from source was 1.0.3 so this is not a bug.