Bug 462227 - Error when using python-cjson package 1.0.5-1.fc8
Summary: Error when using python-cjson package 1.0.5-1.fc8
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-cjson
Version: 8
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Toshio Ernie Kuratomi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-14 15:28 UTC by Clodoaldo Pinto Neto
Modified: 2008-09-14 16:52 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-09-14 16:52:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.