forked from pool/python-bitarray
- Update to 1.5.2:
* add PyType_Ready usage, issue #66 * speedup search() for bitarrays with length 1 in sparse bitarrays, see issue #67 * add tests * support signed integers in `util.ba2int()` and `util.int2ba()`, see issue #85 * deprecate `.length()` in favor of `len()` * Use `Py_ssize_t` for bitarray index. This means that on 32bit systems, the maximun number of elements in a bitarray is 2 GBits. We used to have a special 64bit index type for all architectures, but this prevented us from using Python's sequence, mapping and number methods, and made those method lookups slow. * speedup slice operations when step size = 1 (if alignment allows copying whole bytes) * Require equal endianness for operations: `&`, `|`, `^`, `&=`, `|=`, `^=`. This should have always been the case but was overlooked in the past. * raise TypeError when tring to create bitarray from boolean * This will be last release to still support Python 2.6 (which was retired in 2013). We do NOT plan to stop support for Python 2.7 anytime soon. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=7
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:071e053aae1a182a90d5bb94ba3ac1499f4873515926d4fb7fb18deee197da25
|
||||
size 67943
|
3
bitarray-1.5.2.tar.gz
Normal file
3
bitarray-1.5.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f03f9f0c552f00e6e636110e94c244cc15d0973c71d81edf546061a65d6f9672
|
||||
size 71258
|
@@ -1,3 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 31 04:58:58 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 1.5.2:
|
||||
* add PyType_Ready usage, issue #66
|
||||
* speedup search() for bitarrays with length 1 in sparse bitarrays,
|
||||
see issue #67
|
||||
* add tests
|
||||
* support signed integers in `util.ba2int()` and `util.int2ba()`,
|
||||
see issue #85
|
||||
* deprecate `.length()` in favor of `len()`
|
||||
* Use `Py_ssize_t` for bitarray index. This means that on 32bit
|
||||
systems, the maximun number of elements in a bitarray is 2 GBits.
|
||||
We used to have a special 64bit index type for all architectures, but
|
||||
this prevented us from using Python's sequence, mapping and number
|
||||
methods, and made those method lookups slow.
|
||||
* speedup slice operations when step size = 1 (if alignment allows
|
||||
copying whole bytes)
|
||||
* Require equal endianness for operations: `&`, `|`, `^`, `&=`, `|=`, `^=`.
|
||||
This should have always been the case but was overlooked in the past.
|
||||
* raise TypeError when tring to create bitarray from boolean
|
||||
* This will be last release to still support Python 2.6 (which was retired
|
||||
in 2013). We do NOT plan to stop support for Python 2.7 anytime soon.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 5 00:59:24 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-bitarray
|
||||
Version: 1.4.2
|
||||
Version: 1.5.2
|
||||
Release: 0
|
||||
Summary: Efficient Arrays of Booleans
|
||||
License: Python-2.0
|
||||
|
Reference in New Issue
Block a user