Averroes / simplejson

MIT License
0 stars 0 forks source link

Django's SortedDict serialization #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm using Django's SortedDict in my project and get different output on my
local machine and the linux server.

Results of sorteddict_test.py
Win32
Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit
(Intel)] on win32
Output:
{'profile_info': {'basic_info': {}, 'contact_info': 3, 'author_info': 2}}
{"profile_info": {"basic_info": {}, "contact_info": 3, "author_info": 2}}

Linux Debian
Python 2.5 (release25-maint, Jul 20 2008, 20:47:25)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Output:
{'profile_info': {'basic_info': {}, 'contact_info': 3, 'author_info': 2}}
{"profile_info": {"author_info": 2, "contact_info": 3, "basic_info": {}}}

Original issue reported on code.google.com by pavel.sk...@gmail.com on 21 Aug 2009 at 2:44

Attachments:

GoogleCodeExporter commented 9 years ago
r197

Original comment by bob.ippo...@gmail.com on 27 Dec 2009 at 10:19