Message224283
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. |
|
Date |
User |
Action |
Args |
2014-07-30 01:38:14 | gvanrossum | set | recipients:
+ gvanrossum, rhettinger, pitrou, akira, josh.r, roy.wellington |
2014-07-30 01:38:14 | gvanrossum | set | messageid: <1406684294.93.0.0503447404896.issue22089@psf.upfronthosting.co.za> |
2014-07-30 01:38:14 | gvanrossum | link | issue22089 messages |
2014-07-30 01:38:14 | gvanrossum | create | |
|