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 aeros
Recipients Dima.Tisnek, aeros, docs@python, josh.r, lebigot, rhettinger
Date 2019-07-13.21:57:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> The JSON encoder for dictionaries preserves the order of the items in a dictionary

From what I can tell, the JSON encoder does nothing to preserve the order of the keys. Although the default option is to not modify the existing dictionary, the items() method returns the k,v pairs in a non-random arbitrary manner, which may not match the order the values were entered in. See
Date User Action Args
2019-07-13 21:57:40aerossetrecipients: + aeros, rhettinger, lebigot, docs@python, Dima.Tisnek, josh.r
2019-07-13 21:57:40aerossetmessageid: <>
2019-07-13 21:57:40aeroslinkissue30550 messages
2019-07-13 21:57:40aeroscreate