Kirubakaran Athmanathan added the comment:
Looks like this was fixed in 3.3 in the commit 72890:a22d94547570 Should this
issue be closed?
--
nosy: +kirubakaran
___
Python tracker
<http://bugs.python.org/issue7
Kirubakaran Athmanathan added the comment:
This issue is present only in 3.0 and not in 3.2, 3.3 or 2.7. Since 3.0 is no
longer maintained, I hope that this can be closed.
Refer:
http://docs.python.org/dev/library/site.html
http://docs.python.org/release/3.2/library/site.html
http
Kirubakaran Athmanathan added the comment:
json.dumps({u'foo':'bar'})
'{"foo": "bar"}'
--
___
Python tracker
<http://bugs.python.org/issue6566>
___
Kirubakaran Athmanathan added the comment:
The note added "Keys in key/value pairs of JSON are always of the type
str. When a dictionary is converted into JSON, all the keys of the
dictionary are coerced to strings." is true for unicode keys too.
Kirubakaran Athmanathan added the comment:
Here is the patch that fixes for 3.3
--
Added file: http://bugs.python.org/file24900/6566.3.3.patch
___
Python tracker
<http://bugs.python.org/issue6
Kirubakaran Athmanathan added the comment:
Here is the patch that fixes for 2.7
--
keywords: +patch
nosy: +kirubakaran
Added file: http://bugs.python.org/file24899/6566.2.7.patch
___
Python tracker
<http://bugs.python.org/issue6