Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:
After discussion on IRC, have decided to make the Set ABC more closely match setobject.c: 1) loosen setobject.c binary operations to accept any Set rather than any set/frozenset (see attached patch). 2) tighten Set.__or__, etc to only accept Set rather than any Iterable 3) add Set.update(), Set.difference(), etc so that iterable inputs can be handled without a first casting an iterable input to be a Set. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8743> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com