Skip to content

Commit

Permalink
python3-bitarray: Upgrade 1.9.2 -> 2.0.0
Browse files Browse the repository at this point in the history
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 openembedded#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 <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
leon-anavi authored and kraj committed Apr 16, 2021
1 parent 2314530 commit 1a2c320
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ HOMEPAGE = "https:/ilanschnell/bitarray"
LICENSE = "PSF"
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=2ad702cdcd49e8d2ac01d7e7d0810d2d"

SRC_URI[sha256sum] = "d7a49d21ae04c5af195023b140800186ebf208e3a4fc5b21a1389531cb7a7170"
SRC_URI[sha256sum] = "ee13850d3237c254c7af8acce2f1a044a1c4f22dcec5380cba7443c8be38f701"

inherit setuptools3 pypi

Expand Down

0 comments on commit 1a2c320

Please sign in to comment.