Currently these both fail:
BitArray('bool=1')
pack('bool', 0)
as they require the bool to be 'True' or 'False'. Would be nice to allow them.
Care is needed with the string 'False'...
BitArray('bool=False') # a 0 bit
pack('bool', False) # a 0 bit
pack('bool', 'False') # ??? bool('False') is True
Original issue reported on code.google.com by dr.scott...@gmail.com on 27 Feb 2011 at 4:12
Original issue reported on code.google.com by
dr.scott...@gmail.com
on 27 Feb 2011 at 4:12