Guido van Rossum added the comment:

Oh the joy of duck typing. :-(

If anything, set should be made to behave more like MutableSet by allowing 
arbitrary iterable arguments to the __i**__ methods.

I do not think it is a good idea to add all of the named versions of the 
methods to the ABC (even if it could be done by making then concrete methods 
implemented in terms of the operations).  If you want to work with arbitrary 
MutableSet objects you should restrict yourself to the operations defined by 
MutableSet.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22089>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to