This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bob.ippolito
Recipients bob.ippolito, catherinedevlin, rhettinger
Date 2015-06-29.18:13:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1435601622.15.0.2411631772.issue24518@psf.upfronthosting.co.za>
In-reply-to
Content
On further investigation, simplejson has implemented this functionality under a different name since 2.5.0 (2012-03-29).

"""
If item_sort_key is a callable (not the default), then the output of dictionaries will be sorted with it. The callable will be used like this: sorted(dct.items(), key=item_sort_key). This option takes precedence over sort_keys.

Changed in version 2.5.0: item_sort_key is new in 2.5.0.
"""
History
Date User Action Args
2015-06-29 18:13:42bob.ippolitosetrecipients: + bob.ippolito, rhettinger, catherinedevlin
2015-06-29 18:13:42bob.ippolitosetmessageid: <1435601622.15.0.2411631772.issue24518@psf.upfronthosting.co.za>
2015-06-29 18:13:42bob.ippolitolinkissue24518 messages
2015-06-29 18:13:42bob.ippolitocreate