[issue12330] Named set methods on collections.Set and dict view objects

2011-06-13 Thread R. David Murray
R. David Murray added the comment: collections.Set (in python 3.3, collections.abc.Set) is the *definition* of the minimal API. To construct a class that conforms to the minimal definition is certainly easier than constructing one that supports all of the methods that the set builtin does.

[issue12330] Named set methods on collections.Set and dict view objects

2011-06-13 Thread Julian
Changes by Julian : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue12330] Named set methods on collections.Set and dict view objects

2011-06-13 Thread Julian
Julian added the comment: Oh boy. Reading the comment in Issue9212 more carefully now that you said that I see that Mr. Hettinger said exactly that. I apologize for missing it the first time. "Concrete classes are allowed to have more features than the corresponding ABC. The ABCs are not in

[issue12330] Named set methods on collections.Set and dict view objects

2011-06-13 Thread R. David Murray
R. David Murray added the comment: IIUC, collections.Set is, by definition, the full 'set' API. The fact that the set builtin implements some additional methods is a convenience. -- nosy: +r.david.murray, rhettinger ___ Python tracker

[issue12330] Named set methods on collections.Set and dict view objects

2011-06-13 Thread Julian
Changes by Julian : -- versions: -Python 2.6, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue12330] Named set methods on collections.Set and dict view objects

2011-06-13 Thread Julian
New submission from Julian : collections.Set / collections.MutableSet do not provide any of the named set methods, nor do dict view objects (neither as viewkeys and friends create them nor in py3). They obviously implement the operator methods correctly, but besides the fact that they're not f