]> granicus.if.org Git - python/commit
bpo-23493: json: Change sort_keys in Python encoder same to C (GH-8131)
authorINADA Naoki <methane@users.noreply.github.com>
Fri, 6 Jul 2018 23:55:03 +0000 (08:55 +0900)
committerGitHub <noreply@github.com>
Fri, 6 Jul 2018 23:55:03 +0000 (08:55 +0900)
commite25399b40cd15620e77c9ad2ed24549006ae9b47
tree709a482dc1dff2ae20133b276dc852235054c185
parent0b75228700e0077d8bf2636e74733389514b4b2f
bpo-23493: json: Change sort_keys in Python encoder same to C (GH-8131)

Stop using key=lambda.  This behavior is same to C version encoder.
Lib/json/encoder.py