Bitarray

Latest version: v2.9.2

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

Scan your dependencies

Page 3 of 16

2.7.3

-------------------
* fix popcount64 name conflict on NetBSD, 189
* even though PyPy is not actively supported, allow running tests for
PyPy 3.7 and 3.8, see also 188
* allow running `python setup.py test`
* add official Python 3.12 support
* simplify count functionality in util module
* retire `bitcount_lookup[256]` table
* improve `util.count_n()` error messages
* avoid `util` module tests from being run more than once in each
call to `bitarray.test()` when called multiple times in the same
Python process, see 6e52e49a
* improve testing

2.7.2

-------------------
* speedup all count functionality by using `__builtin_popcountll` when
available, see 187
* add `popcount64()` to `bitarray.h` - we assume now that `uint64_t` is
always available
* improve testing

2.7.1

-------------------
* optimize `util.sc_encode()`

2.7.0

-------------------
* add `util.sc_encode()` and `util.sc_decode()` for
[compression of sparse bitarrays](sparse_compression.rst)
* add `util.any_and()`
* add `util.intervals()`
* move functionality of the following utility functions entirely to C:
`hex2ba()`, `base2ba()`, `deserialize()`, `vl_decode()`, `zeros()`
* improve error checking for unpickling
* add [distance metrics](../examples/distance.py) example:
dice, hamming, jaccard, kulczynski1, rogerstanimoto, russellrao,
sokalmichener, sokalsneath, yule
* add example [sparse bitarray](../examples/sparse) implementations

2.6.2

-------------------
* optimize `richcompare()` for opposite endianness
* improve some docstrings add tests

2.6.1

-------------------
* add documentation on shift operators, 181
* fix typo in iterable initializer description, 179
* optimize `richcompare()`

Page 3 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.