This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author roy.wellington
Recipients roy.wellington
Date 2014-07-27.06:06:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406441194.56.0.0212102514052.issue22089@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2014-07-27 06:06:34roy.wellingtonsetrecipients: + roy.wellington
2014-07-27 06:06:34roy.wellingtonsetmessageid: <1406441194.56.0.0212102514052.issue22089@psf.upfronthosting.co.za>
2014-07-27 06:06:34roy.wellingtonlinkissue22089 messages
2014-07-27 06:06:34roy.wellingtoncreate