Py2.3: Feedback on Sets

Bob Gailer bgailer at alum.rpi.edu
Wed Aug 13 18:59:35 EDT 2003


At 06:02 AM 8/12/2003 +0000, Raymond Hettinger wrote:
>* Are you overjoyed/outraged by the choice of | and &
>    as set operators (instead of + and *)?

Its OK.

>* Is the support for sets of sets necessary for your work
>    and, if so, then is the implementation sufficiently powerful?

Necessary? No. Desirable? Yes Powerful? Yes

>* Is there a compelling need for additional set methods like
>    Set.powerset() and Set.isdisjoint(s) or are the current offerings 
> sufficient?

Its OK

>* Does the performance meet your expectations?

Not tested

>* Do you care that sets can only contain hashable elements?

No

>* How about the design constraint that the argument to most
>    set methods must be another Set (as opposed to any iterable)?

Be nice to support iterable also.

>* Are the docs clear?  Can you suggest improvements?

VERY. A model of how I'd like to see the rest of Python docs.

>* Are sets helpful in your daily work or does the need arise only rarely?

Hard to say,

Bob Gailer
bgailer at alum.rpi.edu
303 442 2625
-------------- next part --------------

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.506 / Virus Database: 303 - Release Date: 8/1/2003


More information about the Python-list mailing list