Robert Schuppenies <robert.schuppen...@gmail.com> added the comment:
I am now a bit confused about the semantics of __eq__ for WeakSets. Is a WeakSet only equal to another WeakSet with the same elements or to any iterable with the same elements, e.g. list? Because this is how I read the current implementation. If it is the latter, when should a NotImplementedError be raised? Whenever the other object is not an Iterable? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5964> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com