We should be able to accept a generator of ints as an input and not only a list.
>>> from intbitset import *
>>> intbitset([1,2,3])
intbitset([1, 2, 3])
>>> intbitset(iter([1,2,3]))
intbitset([])
>>> def a(seq):
... yield from seq
...
>>> intbitset(a([1,2,3]))
intbitset([])