[Python-Dev] Rich Comparisons and New Coercions
Eric S. Raymond
Mon, 27 Nov 2000 20:25:03 -0500
Guido van Rossum <firstname.lastname@example.org>:
> [Moshe, on rich comparisons]
> > Nope. I'm not even sure if they're going to be in 2.1. DA?
> Yes, they should go into 2.1.
Good. Within a few hours after I see that feature in the beta I'll
have a very rich Set class for the standard library. It includes all
the standard boolean operations, symmetric difference, powerset, and
useful overloads for most of the standard operators. As the header
# A set-algebra module for Python
# The functions work on any sequence type and return lists.
# The set methods can take a set or any sequence type as an argument.
Most of the code is tested already. All it's waiting on is rich comparisons
so I can handle partial-ordering of sets properly.
<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>
When only cops have guns, it's called a "police state".
-- Claire Wolfe, "101 Things To Do Until The Revolution"