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 Feb 20, 2023
1 parent 9fdee1a commit ddbf75b
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 5 deletions.
3 changes: 2 additions & 1 deletion CHANGE_LOG
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
2023-02-XX 2.7.3:
2023-02-20 2.7.3:
-------------------
* fix popcount64 name conflict on NetBSD, #189
* even though PyPy is not actively supported, allow running tests for
PyPy 3.7 and 3.8, see also #188
* allow running `python setup.py test`
* add official Python 3.12 support
* simplify count functionality in util module
* retire `bitcount_lookup[256]` table
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,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.7.2
bitarray version: 2.7.3
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 @@ -401,7 +401,7 @@ and can therefore be used as a dictionary key:
Reference
=========

bitarray version: 2.7.2 -- `change log <https://github.com/ilanschnell/bitarray/blob/master/doc/changelog.rst>`__
bitarray version: 2.7.3 -- `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
16 changes: 16 additions & 0 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
Change log
==========

**2.7.3** (2023-02-20):

* fix popcount64 name conflict on NetBSD, `#189 <https://github.com/ilanschnell/bitarray/issues/189>`__
* even though PyPy is not actively supported, allow running tests for
PyPy 3.7 and 3.8, see also `#188 <https://github.com/ilanschnell/bitarray/issues/188>`__
* allow running ``python setup.py test``
* add official Python 3.12 support
* simplify count functionality in util module
* retire ``bitcount_lookup[256]`` table
* improve ``util.count_n()`` error messages
* avoid ``util`` module tests from being run more than once in each
call to ``bitarray.test()`` when called multiple times in the same
Python process, see `#6e52e49a <https://github.com/ilanschnell/bitarray/commit/6e52e49a>`__
* improve testing


**2.7.2** (2023-02-12):

* speedup all count functionality by using ``__builtin_popcountll`` when
Expand Down
4 changes: 2 additions & 2 deletions doc/reference.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Reference
=========

bitarray version: 2.7.2 -- `change log <https://github.com/ilanschnell/bitarray/blob/master/doc/changelog.rst>`__
bitarray version: 2.7.3 -- `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 Expand Up @@ -342,7 +342,7 @@ This sub-module was added in version 1.2.

``count_n(a, n, value=1, /)`` -> int
Return lowest index ``i`` for which ``a[:i].count(value) == n``.
Raises ``ValueError``, when n exceeds total count (``a.count(value)``).
Raises ``ValueError`` when ``n`` exceeds total count (``a.count(value)``).

New in version 2.3.6: optional value argument.

Expand Down

0 comments on commit ddbf75b

Please sign in to comment.