forked from pool/python-bitarray
- update to 2.9.1:
* avoid buffer being unnecessarily initialized with 0s in several functions of the ``bitarray.util`` module * fix ``.count()`` type hint in pyi-file * improve testing * deprecate support for Python 2 - Python 2.7 support will be removed in bitarray version 3.0 * ``bitarray(n)`` for integer initializer ``n`` will always return a bitarray of length ``n`` with all items initialized to ``0`` * allow sub-bitarray in ``.count()``, `#212 * add ``util.ones()`` ``.find()`` and ``.index()``: add keyword argument ``right`` for rightmost index * ``.itersearch()``: add start and stop argument, and keyword * argument ``right`` * deprecate ``util.rindex()`` (will be removed in 3.0 release), * use ``.index(..., right=True)`` instead * deprecate ``util.make_endian()`` (will be removed in 3.0 release), * use ``bitarray(..., endian=...)`` instead OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=48
This commit is contained in:
@@ -1,3 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 27 09:29:57 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.9.1:
|
||||
* avoid buffer being unnecessarily initialized with 0s in
|
||||
several functions of the ``bitarray.util`` module
|
||||
* fix ``.count()`` type hint in pyi-file
|
||||
* improve testing
|
||||
* deprecate support for Python 2 - Python 2.7 support will be
|
||||
removed in bitarray version 3.0
|
||||
* ``bitarray(n)`` for integer initializer ``n`` will always
|
||||
return a bitarray of length ``n`` with all items initialized
|
||||
to ``0``
|
||||
* allow sub-bitarray in ``.count()``, `#212
|
||||
* add ``util.ones()`` ``.find()`` and ``.index()``:
|
||||
add keyword argument ``right`` for rightmost index
|
||||
* ``.itersearch()``: add start and stop argument, and keyword
|
||||
* argument ``right``
|
||||
* deprecate ``util.rindex()`` (will be removed in 3.0 release),
|
||||
* use ``.index(..., right=True)`` instead
|
||||
* deprecate ``util.make_endian()`` (will be removed in 3.0
|
||||
release),
|
||||
* use ``bitarray(..., endian=...)`` instead
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 11 22:13:34 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
Reference in New Issue
Block a user