New submission from Roy Wellington:

Inheriting from collections.MutableSet mixes in several methods, however, it 
does not mix in a .update method. This can cause a variety of confusion if you 
expect a MutableSet to act like a set. Moreover, MutableMapping does provide a 
.update method, which makes me think this is a bug.

I've attached a file that creates a bare-bones MutableSet, and shows the 
difference.

Is this a bug, or is there some reason that MutableSet doesn't provide an 
update method?

----------
components: Library (Lib)
files: ms.py
messages: 224105
nosy: roy.wellington
priority: normal
severity: normal
status: open
title: collections.MutableSet does not provide update method
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file36125/ms.py

_______________________________________
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