Message199802
> Sets are sequences.
>>> from collections import abc
>>> issubclass(abc.Set, abc.Sequence)
False
>>> issubclass(abc.Sequence, abc.Set)
False
> Perhaps separated mutable bitset (or bitlist?) type will be more useful.
Then I would prefer a view, using e.g. the buffer API, but without any copies. |
|
| Date |
User |
Action |
Args |
| 2013-10-13 21:00:36 | pitrou | set | recipients:
+ pitrou, georg.brandl, christian.heimes, serhiy.storchaka |
| 2013-10-13 21:00:36 | pitrou | set | messageid: <1381698036.36.0.198236259902.issue19251@psf.upfronthosting.co.za> |
| 2013-10-13 21:00:36 | pitrou | link | issue19251 messages |
| 2013-10-13 21:00:36 | pitrou | create | |
|