Overview

Request 1135240 accepted

- 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

Request History
Dirk Mueller's avatar

dirkmueller created request

- 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


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Staging Bot's avatar

staging-bot added as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:22"


Staging Bot's avatar

staging-bot accepted review

Picked "openSUSE:Factory:Staging:adi:22"


Dominique Leuenberger's avatar

dimstar accepted review

ok


Ana Guerrero's avatar

anag+factory accepted review

Staging Project openSUSE:Factory:Staging:adi:22 got accepted.


Ana Guerrero's avatar

anag+factory approved review

Staging Project openSUSE:Factory:Staging:adi:22 got accepted.


Ana Guerrero's avatar

anag+factory accepted request

Staging Project openSUSE:Factory:Staging:adi:22 got accepted.

openSUSE Build Service is sponsored by