Commit Graph

1 Commits

Author SHA1 Message Date
Leon Anavi
81bcc422d2 python3-bitarray: Upgrade 1.7.1 -> 1.8.0
Upgrade to release 1.8.0:

- Add `bitarray.util.serialize()` and `bitarray.util.deserialize()`
- Allow whitespace (ignore space and `\n\r\t\v`) in input strings,
  e.g. `bitarray('01 11')` or `a += '10 00'`
- Add `bitarray.util.pprint()`
- When initializing a bitarray from another with different bit
  endianness, e.g. `a = bitarray('110', 'little')` and
  `b = bitarray(a, 'big')`, the buffer used to be simply copied,
  with consequence that `a == b` would result in `False`.  This is
  fixed now, that is `a == b` will always evaluate to `True`.
- Add example showing how to jsonize bitarrays
- Add tests

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-03-24 08:50:45 -07:00