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 gvanrossum
Recipients akira, gvanrossum, josh.r, pitrou, rhettinger, roy.wellington
Date 2014-07-30.01:38:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406684294.93.0.0503447404896.issue22089@psf.upfronthosting.co.za>
In-reply-to
Content
Oh the joy of duck typing. :-(

If anything, set should be made to behave more like MutableSet by allowing arbitrary iterable arguments to the __i**__ methods.

I do not think it is a good idea to add all of the named versions of the methods to the ABC (even if it could be done by making then concrete methods implemented in terms of the operations).  If you want to work with arbitrary MutableSet objects you should restrict yourself to the operations defined by MutableSet.
History
Date User Action Args
2014-07-30 01:38:14gvanrossumsetrecipients: + gvanrossum, rhettinger, pitrou, akira, josh.r, roy.wellington
2014-07-30 01:38:14gvanrossumsetmessageid: <1406684294.93.0.0503447404896.issue22089@psf.upfronthosting.co.za>
2014-07-30 01:38:14gvanrossumlinkissue22089 messages
2014-07-30 01:38:14gvanrossumcreate