Bitarray

Latest version: v3.0.0

Safety actively analyzes 681857 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 17

2.1.0

-------------------
* add `.find()` method, see 122
* `.find()`, `.index()`, `.search()` and `.itersearch()` now all except
both (sub-) bitarray as well as bool items to be searched for
* improve encode/decode error messages
* add [lexicographical permutations example](../examples/lexico.py)
* add tests

2.0.1

-------------------
* update documentation
* improve some error messages

2.0.0

-------------------
* require more specific objects, int (0 or 1) or bool, see 119
* items are always returned as int 0 or 1, 119
* 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 [hexadecimal example](../examples/hexadecimal.py)

1.9.2

-------------------
* update pythoncapi_compat: Fix support with PyPy 3.7, 120
* update readme

1.9.1

-------------------
* switch documentation from markdown to reStructuredText
* add tests

1.9.0

-------------------
* add shift operations (`<<`, `>>`, `<<=`, `>>=`), see 117
* add `bitarray.util.ba2base()` and `bitarray.util.base2ba()`,
see last paragraph in [Bitarray representations](represent.rst)
* documentation and tests

Page 8 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.