Py2.3: Feedback on Sets
JohnSmith at obfs.com
Sun Aug 17 19:16:45 CEST 2003
Suggestion: How about adding Set.isProperSubset() and
Thanks for this wonderful module. I've been working on data mining and
learning area using Python. Set operations are very important to me.
"Raymond Hettinger" <vze4rx4y at verizon.net> wrote in message
news:Jp%Za.256$jw4.238 at nwrdny03.gnilink.net...
> I've gotten lots of feedback on the itertools module
> but have not heard a peep about the new sets module.
> * Are you overjoyed/outraged by the choice of | and &
> as set operators (instead of + and *)?
> * Is the support for sets of sets necessary for your work
> and, if so, then is the implementation sufficiently
> * Is there a compelling need for additional set methods like
> Set.powerset() and Set.isdisjoint(s) or are the current
> offerings sufficient?
> * Does the performance meet your expectations?
> * Do you care that sets can only contain hashable elements?
> * How about the design constraint that the argument to most
> set methods must be another Set (as opposed to any iterable)?
> * Are the docs clear? Can you suggest improvements?
> * Are sets helpful in your daily work or does the need arise
> only rarely?
> User feedback is essential to determining the future direction
> of sets (whether it will be implemented in C, change API,
> and/or be given supporting language syntax).
> Raymond Hettinger
More information about the Python-list