14
0

Accepting request 899584 from home:mnhauke

- Update to 2.1.1
  * add type hinting (see PEP 484, 561) using stub (`.pyi`) files
- Update to 2.1.0
  * add `.find()` method, see #122
  * `.find()`, `.index()`, `.search()` and `.itersearch()` now all
    except both (sub-) bitarray as well as bool items to be
    searched for
  * improve encode/decode error messages
  * add [lexicographical permutations example](../examples/lexico.py)
- Update to 2.0.1
  * update documentation
  * improve some error messages
- Update to 2.0.0
  * require more specific objects, int (0 or 1) or bool
  * items are always returned as int 0 or 1
  * remove `.length()` method (deprecated since 1.5.1 - use `len()`)
  * in `.unpack()` the `one` argument now defaults to 0x01 (was 0xff)
  * `.tolist()` now always returns a list of integers (0 or 1)
  * fix frozenbitarray hash function, see #121
  * fix frozenbitarray being mutable by `<<=` and `>>=`
  * support sequence protocol in `.extend()` (and bitarray creation)
  * improve OverflowError messages from `util.int2ba()`
  * add [hexadecimal example](../examples/hexadecimal.py)

OBS-URL: https://build.opensuse.org/request/show/899584
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=15
This commit is contained in:
2021-06-12 10:05:57 +00:00
committed by Git OBS Bridge
parent a7e71e33ba
commit 75bf9a8394
4 changed files with 32 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2c36b2c6a5682b49c7649a4e5188d799b4068ee24ca19b89cced4c4b74fd1802
size 93609

3
bitarray-2.1.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:77a9e94fe775b92bbcd58567d9c88092af2c2a70bf28525c08d178b69bc49e6c
size 101560

View File

@@ -1,3 +1,30 @@
-------------------------------------------------------------------
Sat Jun 12 08:07:51 UTC 2021 - Martin Hauke <mardnh@gmx.de>
- Update to 2.1.1
* add type hinting (see PEP 484, 561) using stub (`.pyi`) files
- Update to 2.1.0
* add `.find()` method, see #122
* `.find()`, `.index()`, `.search()` and `.itersearch()` now all
except both (sub-) bitarray as well as bool items to be
searched for
* improve encode/decode error messages
* add [lexicographical permutations example](../examples/lexico.py)
- Update to 2.0.1
* update documentation
* improve some error messages
- Update to 2.0.0
* require more specific objects, int (0 or 1) or bool
* items are always returned as int 0 or 1
* remove `.length()` method (deprecated since 1.5.1 - use `len()`)
* in `.unpack()` the `one` argument now defaults to 0x01 (was 0xff)
* `.tolist()` now always returns a list of integers (0 or 1)
* fix frozenbitarray hash function, see #121
* fix frozenbitarray being mutable by `<<=` and `>>=`
* support sequence protocol in `.extend()` (and bitarray creation)
* improve OverflowError messages from `util.int2ba()`
* add [hexadecimal example](../examples/hexadecimal.py)
-------------------------------------------------------------------
Sat Apr 10 07:45:02 UTC 2021 - Martin Hauke <mardnh@gmx.de>

View File

@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-bitarray
Version: 1.9.2
Version: 2.1.1
Release: 0
Summary: Efficient Arrays of Booleans
License: Python-2.0
@@ -65,7 +65,7 @@ rm examples/growth/.gitignore
%files %{python_files}
%license LICENSE
%doc examples CHANGE_LOG README.rst TODO
%doc examples CHANGE_LOG README.rst
%{python_sitearch}/bitarray*
%changelog