On 3/1/07, Martin Aspeli <[EMAIL PROTECTED]> wrote:
Sets may turn out to be *sorted* if they're implemented with trees, but I
don't think the implementation promises that either.

The BTrees implementation definitely does promise the sorting
relationship for the results of iteration, which is useful.  Python's
built-in set types do not make that promise (and they happen to be


Fred L. Drake, Jr.    <fdrake at gmail.com>
"Every sin is the result of a collaboration." --Lucius Annaeus Seneca
Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to