On Sat, 17 Sep 2005, it was written: > Tom Anderson <[EMAIL PROTECTED]> writes: > >> One thing that would be rather useful in various bits of programming >> i've done would be a mutable bitmap type. Am i right in thinking >> there's no such thing in the standard library? Is there an >> implementation out there somewhere else? Is there a hack for doing it >> with the stuff that is in the standard library? > > The obvious way is with the array module.
*bangs head against keyboard* i've had a niggling feeling i should be paying more attention to that module for months now. yes, it would be very simple to implement a bitset on top of an array of integers. doh. tom -- There is no strange thing. -- http://mail.python.org/mailman/listinfo/python-list