Bitarray

Latest version: v3.3.1

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

Scan your dependencies

Page 1 of 18

3.3.2

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

3.3.1

-------------------
* remove `License` classifier in favor of a SPDX license expression, 231
* reorganize and cleanup many tests

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](../examples/double.py)

3.2.0

-------------------
* add `util.xor_indices()`, 229
* add [Hamming code example](../examples/hamming.py)

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](../examples/lfsr.py)

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

Page 1 of 18

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.