Bitarray

Latest version: v3.3.0

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

Scan your dependencies

Page 1 of 18

3.3.1

-------------------

3.3.0

-------------------
* add optional `group` and `sep` arguments' to `.to01()`, 230 -
as well as `util.ba2hex()` and `util.ba2base()`
* ignore whitespace in `util.base2ba()` and `util.hex2ba()`
* check for embedded nul characters when extending (and initializing)
bitarray from string
* improve testing
* add double precision floating point number example

3.2.0

-------------------
* add `util.xor_indices()`, 229
* add Hamming code example

3.1.1

-------------------
* updated `pythoncapi_compat.h` for pypy3.11 support, see 227
* use `__builtin_parityll()` when available in `util.parity()`
* add `parity_64()` to header
* simplify some tests
* add LFSR example

3.1.0

-------------------
* allow mask assignment to bitarrays, see 225
* add missing masked operations to pyi-file
* refactor `resize()` and avoid overallocation when downsizing buffer
* update `build_wheels.yml`
* fix some typos
* minor simplifications
* rename `growth/` example to `resize/` and add tests for `resize()`
* update gene example
* add comments

3.0.0

-------------------
* see [Bitarray 3 transition](bitarray3.rst)
* remove Python 2.7 support
* `.decode()` now returns iterator (equivalent to past `.iterdecode()`)
* `.search()` now returns iterator (equivalent to past `.itersearch()`)
* remove `.iterdecode()` and `.itersearch()`
* remove `util.rindex()`, use `.index(..., right=1)` instead,
deprecated since 2.9
* remove `util.make_endian()`, use `bitarray(..., endian=...)` instead,
deprecated since 2.9
* remove hackish support for `bitarray()` handling unpickling,
see detailed explaination in 207 - closes 206

Page 1 of 18

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.