[docs] [issue30550] Document order-preserving dictionary output in json
Inada Naoki
report at bugs.python.org
Sun Jul 21 04:52:49 EDT 2019
Inada Naoki <songofacandy at gmail.com> added the comment:
OrderedDict is not recommended to preserve order any more.
Note that mention about `object_pairs_hook=OrderedDict` is removed intentionally.
https://github.com/python/cpython/pull/5001
Please forget about OrderedDict unless you need additional feature OrderedDict provides. It is far inefficient than regular dict.
----------
nosy: +inada.naoki
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue30550>
_______________________________________
More information about the docs
mailing list