* fix type hinting for memoryviews, see #241
* add [bit-endianness](endianness.rst) documentation
* improve testing, including debug mode test for `digit_to_int()`
- from version 3.7.0
* add `util.gen_primes()`, generate bitarrays in which active indices are
prime numbers
* improve `.buffer_info()` to return named tuple
* add optional `mode` argument to `util.sum_indices()` to sum square of
active indices
* improve internal `_sysinfo()` to include `Py_DEBUG`
* add [Dubner's conjecture](../examples/dubner.rst) (in memory of Harvey
Dubner)
* add [dynamically growing sieve](../examples/dyn_sieve.py)
- from version 3.6.1
* add development files for statistical tests in `devel/random/`
* optimize `util.sum_indices()`
* fix RecursionError in `util.random_k()`, see #239
* add `devel/test_sum_indices.py`
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=78
* optimize util.random_p() by also using bitwise AND in final
step
* fix DeprecationWarning regarding u type code
* add verification tests for internals of util.random_p()
* optimize util.random_p() for n < 100
* add Random Bitarrays documentation
* add statistical tests for random functions
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=74
* minor updates to documentation
* C-level:
- simplify and speedup `extend_unicode01()`
- customize `resize_lite()` - avoid unused code
- use `PyTypeObject` for bitarray type object in `_util.c` to
be consistent with `_bitarray.c`
- add and improve comments to implementation of sparse bitarray
compression
- simplify `sc_count()`
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=70
* extend documentation of
[compression of sparse bitarrays](sparse_compression.rst)
* `util.sc_decode()` and `util.vl_decode()` now raise `StopIteration`
instead of `ValueError` when unexpected end of stream is encountered
* add debug mode tests for `read_n()`, `write_n()` and `count_from_word()`
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=66
* remove `.endian()` method in favor of data descriptor `.endian`
* allow bitarray initializer `bytes` or `bytearray` to set buffer directly
* allow calling `.extend()` with `bytes` object (although the only
valid bytes are 0x00 and 0x01)
* add `util.byteswap()`
* add `util.correspond_all()`
* fix `.reverse()` for imported buffer
* drop Python 3.5 support
* add tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=62
- update to 3.3.1:
* remove License classifier in favor of a SPDX license
expression, #231
* reorganize and cleanup many tests
* 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
OBS-URL: https://build.opensuse.org/request/show/1272311
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=30
* remove License classifier in favor of a SPDX license
expression, #231
* reorganize and cleanup many tests
* 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=58
* add `util.xor_indices()`, #229
* add Hamming code example
- Update to 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
- Update to 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=56
- update to 3.0.0:
* see Bitarray 3 transition
* 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
* add official Python 3.13 support
* update cibuildwheel to 2.21.3
* minor simplifications
* fix some typos
OBS-URL: https://build.opensuse.org/request/show/1218794
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=28
* see Bitarray 3 transition
* 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
* add official Python 3.13 support
* update cibuildwheel to 2.21.3
* minor simplifications
* fix some typos
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=54
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.