[issue22089] collections.MutableSet does not provide update method

Raymond Hettinger report at bugs.python.org
Wed Jul 30 02:16:47 CEST 2014


Raymond Hettinger added the comment:

The starting point for this feature request should be recognizing that Guido intentionally chose to not implement the named methods.

Excerpt from PEP 3119:

"This also supports the in-place mutating operations |=, &=, ^=, -=. These are concrete methods whose right operand can be an arbitrary Iterable, except for &=, whose right operand must be a Container. This ABC does not provide the named methods present on the built-in concrete set type that perform (almost) the same operations."

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22089>
_______________________________________


More information about the Python-bugs-list mailing list