[Python-ideas] Indicate if an iterable is ordered or not

Eric Snow ericsnowcurrently at gmail.com
Wed Sep 25 01:44:04 CEST 2013


On Tue, Sep 24, 2013 at 5:01 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> There's already an implicit expectation that iterables will be *consistent*
> in the absence of mutation (i.e.  arbitrarily ordered rather than
> unordered), but I don't see how "ordered based on container internal
> details" is meaningfully different from "ordered by some external
> criterion".

"container internal details" is a good way to put it.  "ordered" is a
little too vague, isn't it. :)

-eric


More information about the Python-ideas mailing list