Skip to content

Commit

Permalink
add release date - update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ilanschnell committed Dec 23, 2023
1 parent 2d962a7 commit 7af8422
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGE_LOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
20XX-XX-XX 2.9.1:
2023-12-23 2.9.1:
-------------------
* avoid buffer being unnecessarily initialized with 0s in several
functions of the `bitarray.util` module
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Once you have installed the package, you may want to test it:
$ python -c 'import bitarray; bitarray.test()'
bitarray is installed in: /Users/ilan/bitarray/bitarray
bitarray version: 2.9.0
bitarray version: 2.9.1
sys.version: 3.11.0 (main, Oct 25 2022) [Clang 14.0.4]
sys.prefix: /Users/ilan/Mini3/envs/py311
pointer size: 64 bit
Expand Down Expand Up @@ -427,7 +427,7 @@ and can therefore be used as a dictionary key:
Reference
=========

bitarray version: 2.9.0 -- `change log <https://github.com/ilanschnell/bitarray/blob/master/doc/changelog.rst>`__
bitarray version: 2.9.1 -- `change log <https://github.com/ilanschnell/bitarray/blob/master/doc/changelog.rst>`__

In the following, ``item`` and ``value`` are usually a single bit -
an integer 0 or 1.
Expand Down
1 change: 1 addition & 0 deletions bitarray/_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ ensure_bitarray(PyObject *obj)
t = PyObject_IsInstance(obj, bitarray_type_obj);
if (t < 0)
return -1;

if (t == 0) {
PyErr_Format(PyExc_TypeError, "bitarray expected, not '%s'",
Py_TYPE(obj)->tp_name);
Expand Down
8 changes: 8 additions & 0 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Change log
==========

**2.9.1** (2023-12-23):

* avoid buffer being unnecessarily initialized with 0s in several
functions of the ``bitarray.util`` module
* fix ``.count()`` type hint in pyi-file
* improve testing


**2.9.0** (2023-12-17):

* deprecate support for Python 2 - Python 2.7 support will be removed
Expand Down
2 changes: 1 addition & 1 deletion doc/reference.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Reference
=========

bitarray version: 2.9.0 -- `change log <https://github.com/ilanschnell/bitarray/blob/master/doc/changelog.rst>`__
bitarray version: 2.9.1 -- `change log <https://github.com/ilanschnell/bitarray/blob/master/doc/changelog.rst>`__

In the following, ``item`` and ``value`` are usually a single bit -
an integer 0 or 1.
Expand Down

0 comments on commit 7af8422

Please sign in to comment.