Bitarray

Latest version: v2.9.2

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

Scan your dependencies

Page 14 of 16

0.6.0

-------------------
* add buffer protocol to bitarray objects (Python 2.7 only)
* allow slice assignment to 0 or 1, e.g. `a[::3] = 0` (in addition to
booleans)
* moved implementation of itersearch method to C level (Lluis Pamies)
* search, itersearch now only except bitarray objects,
whereas `__contains__` excepts either booleans or bitarrays
* use a priority queue for Huffman tree example (thanks to Ushma Bhatt)
* improve documentation

0.5.2

-------------------
* fixed MSVC compile error on Python 3 (thanks to Chris Gohlke)
* add missing start and stop optional parameters to index() method
* add examples/compress.py

0.5.1

-------------------
* update documentation to use tobytes and frombytes, rather than tostring
and fromstring (which are now deprecated)
* simplified how tests are run

0.5.0

-------------------
* added itersearch method
* added Bloom filter example
* minor fixes in docstrings, added more tests

0.4.0

-------------------
* porting to Python 3.x (Roland Puntaier)
* introduced `.tobytes()` and `.frombytes()` (`.tostring()`
and `.fromstring()` are now deprecated)
* updated development status
* added sieve prime number example
* moved project to github: https://github.com/ilanschnell/bitarray

0.3.5

-------------------
* fixed reference counts bugs
* added possibility to slice assign to `True` or `False`,
e.g. `a[::3] = True` will set every third element to `True`

Page 14 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.