Why are there no ordered dictionaries?
Duncan Booth
duncan.booth at invalid.invalid
Wed Nov 23 04:58:02 EST 2005
Christoph Zwerschke wrote:
> Ok, I just did a little research an compared support for ordered dicts
> in some other languages:
>
Just to add to your list:
In Javascript Object properties (often used as an associative array) are
defined as unordered although as IE seems to always store them in the order
of original insertion it wouldn't surprise me if there are a lot of
websites depending on that behaviour.
Javascript Array indexes are also stored as properties and are therefore
also unordered.
More information about the Python-list
mailing list