Commit Graph

1 Commits

Author SHA1 Message Date
Leon Anavi
ef48a2e1b9 python3-bitarray: Upgrade 1.9.2 -> 2.0.0
Upgrade to release 2.0.0:

- require more specific objects, int (0 or 1) or bool
- items are always returned as int 0 or 1
- remove `.length()` method (deprecated since 1.5.1 - use `len()`)
- in `.unpack()` the `one` argument now defaults to 0x01
  (was 0xff)
- `.tolist()` now always returns a list of integers (0 or 1)
- fix frozenbitarray hash function, see #121
- fix frozenbitarray being mutable by `<<=` and `>>=`
- support sequence protocol in `.extend()` (and bitarray creation)
- improve OverflowError messages from `util.int2ba()`
- add examples/hexadecimal.py

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-04-21 08:26:06 -07:00