]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
* Fix-up a TODO (support the sort_key option).
authorRaymond Hettinger <python@rcn.com>
Wed, 27 May 2009 09:58:34 +0000 (09:58 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 27 May 2009 09:58:34 +0000 (09:58 +0000)
commitbcf6f92dc50c1f23ca327c5dae4d616cfe212625
tree6c178b09a815e9fdd9e7ba250940d380b973b83d
parent81c0dcee658af0966bc91fe20ce2cd807a797aff
* Fix-up a TODO (support the sort_key option).
* Fix an error where True/False were being written-out
  as title-cased strings when used a dictionary keys.
* Speed-up iteration over dicts by looping over items()
  rather than keys() followed by value lookups.
* TODO:  sort only by keys, not keys and values.
Lib/json/encoder.py
Lib/json/tests/test_encode_basestring_ascii.py
Modules/_json.c