On 16 juin, 10:37, Armin Ronacher <armin.ronac... @active-4.comwrote:
(snip)
+1
"insertion-ordered" dicts are something I often need, and while there
are usable workarounds, they either require boilerplate code,
introduce external dependancies to (possibly unoptimised) code or make
you reinvent the (square) wheel, all of which is (IMHO) below average
Python's standard regarding data structures.
Abstract
========
>
This PEP proposes an ordered dictionary as a new data structure for
the ``collections`` module, called "odict" in this PEP for short. The
proposed API incorporates the experiences gained from working with
similar implementations that exist in various real-world applications
and other programming languages.
>
========
>
This PEP proposes an ordered dictionary as a new data structure for
the ``collections`` module, called "odict" in this PEP for short. The
proposed API incorporates the experiences gained from working with
similar implementations that exist in various real-world applications
and other programming languages.
>
+1
"insertion-ordered" dicts are something I often need, and while there
are usable workarounds, they either require boilerplate code,
introduce external dependancies to (possibly unoptimised) code or make
you reinvent the (square) wheel, all of which is (IMHO) below average
Python's standard regarding data structures.