From 07050c5702cd4618c479cfd2027588654a30aa4a0ab305e1e596f21be20a2ecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 20 Aug 2021 07:27:59 +0000 Subject: [PATCH] Accepting request 913102 from home:glaubitz:branches:devel:languages:python - Update to 2.3.0 * add optional `buffer` argument to `bitarray()` to import the buffer of another object, #141, #146, see also: [buffer protocol](buffer.rst) * update `.buffer_info()` to include: a read-only flag, an imported buffer flag, and the number of buffer exports * add optional start and stop arguments to `util.rindex()` * add [memory-mapped file](../examples/mmapped-file.py) example * ignore underscore (`_`) in string input, e.g. `bitarray('1100_0111')` * add missing type hinting for new `.bytereverse()` arguments * fix `.extend()` type annotations, #145 * avoid `.reverse()` using temporary memory * make `.unpack()`, `util.serialize()`, `util.vl_encode()` and `.__reduce__()` more memory efficient * add and improve tests - from version 2.2.5 * speedup `find_bit()` and `find_last()` using uint64 checking, this means a speedup for `.find()`, `.index()`, `.search()` and `util.rindex()` * add optional start and stop arguments to `.bytereverse()` * add example to illustrate how [unaligned copying](../examples/copy_n.py) works internally * add documentation * add tests - from version 2.2.4 * use shift operations to speedup all unaligned copy operations, #142 * expose functionality to Python level only in debug mode for testing * add and improve tests - from version 2.2.3 * speedup `repeat()`, #136 * speedup shift operations, #139 * optimize slice assignment with negative step, e.g.: `a[::-1] = 1` OBS-URL: https://build.opensuse.org/request/show/913102 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=18 --- bitarray-2.1.2.tar.gz | 3 --- bitarray-2.3.0.tar.gz | 3 +++ python-bitarray.changes | 52 +++++++++++++++++++++++++++++++++++++++++ python-bitarray.spec | 2 +- 4 files changed, 56 insertions(+), 4 deletions(-) delete mode 100644 bitarray-2.1.2.tar.gz create mode 100644 bitarray-2.3.0.tar.gz diff --git a/bitarray-2.1.2.tar.gz b/bitarray-2.1.2.tar.gz deleted file mode 100644 index ab349d1..0000000 --- a/bitarray-2.1.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:74407a00273cd0c891bf975f128615e2cbdbbf1e082fca9b562f95928e575099 -size 101719 diff --git a/bitarray-2.3.0.tar.gz b/bitarray-2.3.0.tar.gz new file mode 100644 index 0000000..99f702e --- /dev/null +++ b/bitarray-2.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b11d0000a9caf4dac4504d65fcafc8f1d76fc7b705b855633e0bcf268975dc60 +size 121742 diff --git a/python-bitarray.changes b/python-bitarray.changes index df0aca0..1a55773 100644 --- a/python-bitarray.changes +++ b/python-bitarray.changes @@ -1,3 +1,55 @@ +------------------------------------------------------------------- +Thu Aug 19 12:55:23 UTC 2021 - John Paul Adrian Glaubitz + +- Update to 2.3.0 + * add optional `buffer` argument to `bitarray()` to import the buffer of + another object, #141, #146, see also: [buffer protocol](buffer.rst) + * update `.buffer_info()` to include: a read-only flag, an imported buffer + flag, and the number of buffer exports + * add optional start and stop arguments to `util.rindex()` + * add [memory-mapped file](../examples/mmapped-file.py) example + * ignore underscore (`_`) in string input, e.g. `bitarray('1100_0111')` + * add missing type hinting for new `.bytereverse()` arguments + * fix `.extend()` type annotations, #145 + * avoid `.reverse()` using temporary memory + * make `.unpack()`, `util.serialize()`, `util.vl_encode()` + and `.__reduce__()` more memory efficient + * add and improve tests +- from version 2.2.5 + * speedup `find_bit()` and `find_last()` using uint64 checking, this means + a speedup for `.find()`, `.index()`, `.search()` and `util.rindex()` + * add optional start and stop arguments to `.bytereverse()` + * add example to illustrate how + [unaligned copying](../examples/copy_n.py) works internally + * add documentation + * add tests +- from version 2.2.4 + * use shift operations to speedup all unaligned copy operations, #142 + * expose functionality to Python level only in debug mode for testing + * add and improve tests +- from version 2.2.3 + * speedup `repeat()`, #136 + * speedup shift operations, #139 + * optimize slice assignment with negative step, e.g.: `a[::-1] = 1` + * add tests +- from version 2.2.2 + * speedup slice assignment, see #132 and #135 + * speedup bitwise operations, #133 + * optimize `getbit()` and `setbit()` in `bitarray.h` + * fix TypeError messages when bitarray or int (0, 1) are expected (bool + is a subclass of int) + * add and improve tests +- from version 2.2.1 + * improve documentation + * speedup `vl_encode()` + * `bitarray.h`: make `getbit()` always an (inline) function + * add assertions in C code +- from version 2.2.0 + * add `bitarray.util.vl_encode()` and `bitarray.util.vl_decode()` which + uses a [variable length bitarray format](variable_length.rst), #131 +- from version 2.1.3 + * Fix building with MSVC / Bullseye, #129 + ------------------------------------------------------------------- Sat Jul 17 08:25:28 UTC 2021 - Martin Hauke diff --git a/python-bitarray.spec b/python-bitarray.spec index a348285..50297d4 100644 --- a/python-bitarray.spec +++ b/python-bitarray.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-bitarray -Version: 2.1.2 +Version: 2.3.0 Release: 0 Summary: Efficient Arrays of Booleans License: Python-2.0