bitarray 3.9.1__tar.gz → 3.9.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bitarray-3.9.1 → bitarray-3.9.2}/PKG-INFO +9 -6
- {bitarray-3.9.1 → bitarray-3.9.2}/README.rst +8 -5
- {bitarray-3.9.1 → bitarray-3.9.2}/bitarray/_bitarray.c +835 -466
- {bitarray-3.9.1 → bitarray-3.9.2}/bitarray/_util.c +291 -195
- {bitarray-3.9.1 → bitarray-3.9.2}/bitarray/bitarray.h +7 -5
- {bitarray-3.9.1 → bitarray-3.9.2}/bitarray/test_bitarray.py +98 -15
- {bitarray-3.9.1 → bitarray-3.9.2}/bitarray/test_util.py +36 -93
- {bitarray-3.9.1 → bitarray-3.9.2}/bitarray.egg-info/PKG-INFO +9 -6
- {bitarray-3.9.1 → bitarray-3.9.2}/LICENSE +0 -0
- {bitarray-3.9.1 → bitarray-3.9.2}/bitarray/__init__.py +0 -0
- {bitarray-3.9.1 → bitarray-3.9.2}/bitarray/__init__.pyi +0 -0
- {bitarray-3.9.1 → bitarray-3.9.2}/bitarray/py.typed +0 -0
- {bitarray-3.9.1 → bitarray-3.9.2}/bitarray/pythoncapi_compat.h +0 -0
- {bitarray-3.9.1 → bitarray-3.9.2}/bitarray/test_281.pickle +0 -0
- {bitarray-3.9.1 → bitarray-3.9.2}/bitarray/util.py +0 -0
- {bitarray-3.9.1 → bitarray-3.9.2}/bitarray/util.pyi +0 -0
- {bitarray-3.9.1 → bitarray-3.9.2}/bitarray.egg-info/SOURCES.txt +0 -0
- {bitarray-3.9.1 → bitarray-3.9.2}/bitarray.egg-info/dependency_links.txt +0 -0
- {bitarray-3.9.1 → bitarray-3.9.2}/bitarray.egg-info/not-zip-safe +0 -0
- {bitarray-3.9.1 → bitarray-3.9.2}/bitarray.egg-info/top_level.txt +0 -0
- {bitarray-3.9.1 → bitarray-3.9.2}/pyproject.toml +0 -0
- {bitarray-3.9.1 → bitarray-3.9.2}/setup.cfg +0 -0
- {bitarray-3.9.1 → bitarray-3.9.2}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bitarray
|
|
3
|
-
Version: 3.9.
|
|
3
|
+
Version: 3.9.2
|
|
4
4
|
Summary: efficient arrays of booleans -- C extension
|
|
5
5
|
Home-page: https://github.com/ilanschnell/bitarray
|
|
6
6
|
Author: Ilan Schnell
|
|
@@ -92,7 +92,7 @@ Once you have installed the package, you may want to test it:
|
|
|
92
92
|
|
|
93
93
|
$ python -c 'import bitarray; bitarray.test()'
|
|
94
94
|
bitarray is installed in: /Users/ilan/bitarray/bitarray
|
|
95
|
-
bitarray version: 3.9.
|
|
95
|
+
bitarray version: 3.9.2
|
|
96
96
|
sys.version: 3.14.5 (main, May 20 2026) [Clang 20.1.8]
|
|
97
97
|
sys.prefix: /Users/ilan/miniforge
|
|
98
98
|
sys.abiflags: ''
|
|
@@ -110,7 +110,7 @@ Once you have installed the package, you may want to test it:
|
|
|
110
110
|
................................................s........................
|
|
111
111
|
......s.........................................................
|
|
112
112
|
----------------------------------------------------------------------
|
|
113
|
-
Ran
|
|
113
|
+
Ran 633 tests in 0.191s
|
|
114
114
|
|
|
115
115
|
OK (skipped=2)
|
|
116
116
|
|
|
@@ -357,7 +357,7 @@ and can therefore be used as a dictionary key:
|
|
|
357
357
|
Reference
|
|
358
358
|
=========
|
|
359
359
|
|
|
360
|
-
bitarray version: 3.9.
|
|
360
|
+
bitarray version: 3.9.2 -- `change log <https://github.com/ilanschnell/bitarray/blob/master/doc/changelog.rst>`__
|
|
361
361
|
|
|
362
362
|
In the following, ``item`` and ``value`` are usually a single bit -
|
|
363
363
|
an integer 0 or 1.
|
|
@@ -585,6 +585,9 @@ bitarray methods:
|
|
|
585
585
|
unless ``right=True``, which will iterate in descending order (starting with
|
|
586
586
|
rightmost match).
|
|
587
587
|
|
|
588
|
+
For example, ``a.search(1)`` is the easiest (and most efficient) way
|
|
589
|
+
to create an iterator over all active indices in ``a``.
|
|
590
|
+
|
|
588
591
|
See also: `Bitarray 3 transition <https://github.com/ilanschnell/bitarray/blob/master/doc/bitarray3.rst>`__
|
|
589
592
|
|
|
590
593
|
New in version 2.9: optional start and stop arguments - add optional keyword argument ``right``
|
|
@@ -768,8 +771,8 @@ This sub-module was added in version 1.2.
|
|
|
768
771
|
|
|
769
772
|
``byteswap(a, n=<buffer size>, /)``
|
|
770
773
|
Reverse every ``n`` consecutive bytes of ``a`` in-place.
|
|
771
|
-
By default, all bytes are reversed. Note that ``n`` is not limited
|
|
772
|
-
or 8, but can be any positive integer.
|
|
774
|
+
By default, all bytes are reversed. Note that ``n`` is **not** limited
|
|
775
|
+
to 2, 4 or 8, but can be any positive integer.
|
|
773
776
|
Also, ``a`` may be any object that exposes a writable buffer.
|
|
774
777
|
Nothing about this function is specific to bitarray objects.
|
|
775
778
|
|
|
@@ -57,7 +57,7 @@ Once you have installed the package, you may want to test it:
|
|
|
57
57
|
|
|
58
58
|
$ python -c 'import bitarray; bitarray.test()'
|
|
59
59
|
bitarray is installed in: /Users/ilan/bitarray/bitarray
|
|
60
|
-
bitarray version: 3.9.
|
|
60
|
+
bitarray version: 3.9.2
|
|
61
61
|
sys.version: 3.14.5 (main, May 20 2026) [Clang 20.1.8]
|
|
62
62
|
sys.prefix: /Users/ilan/miniforge
|
|
63
63
|
sys.abiflags: ''
|
|
@@ -75,7 +75,7 @@ Once you have installed the package, you may want to test it:
|
|
|
75
75
|
................................................s........................
|
|
76
76
|
......s.........................................................
|
|
77
77
|
----------------------------------------------------------------------
|
|
78
|
-
Ran
|
|
78
|
+
Ran 633 tests in 0.191s
|
|
79
79
|
|
|
80
80
|
OK (skipped=2)
|
|
81
81
|
|
|
@@ -322,7 +322,7 @@ and can therefore be used as a dictionary key:
|
|
|
322
322
|
Reference
|
|
323
323
|
=========
|
|
324
324
|
|
|
325
|
-
bitarray version: 3.9.
|
|
325
|
+
bitarray version: 3.9.2 -- `change log <https://github.com/ilanschnell/bitarray/blob/master/doc/changelog.rst>`__
|
|
326
326
|
|
|
327
327
|
In the following, ``item`` and ``value`` are usually a single bit -
|
|
328
328
|
an integer 0 or 1.
|
|
@@ -550,6 +550,9 @@ bitarray methods:
|
|
|
550
550
|
unless ``right=True``, which will iterate in descending order (starting with
|
|
551
551
|
rightmost match).
|
|
552
552
|
|
|
553
|
+
For example, ``a.search(1)`` is the easiest (and most efficient) way
|
|
554
|
+
to create an iterator over all active indices in ``a``.
|
|
555
|
+
|
|
553
556
|
See also: `Bitarray 3 transition <https://github.com/ilanschnell/bitarray/blob/master/doc/bitarray3.rst>`__
|
|
554
557
|
|
|
555
558
|
New in version 2.9: optional start and stop arguments - add optional keyword argument ``right``
|
|
@@ -733,8 +736,8 @@ This sub-module was added in version 1.2.
|
|
|
733
736
|
|
|
734
737
|
``byteswap(a, n=<buffer size>, /)``
|
|
735
738
|
Reverse every ``n`` consecutive bytes of ``a`` in-place.
|
|
736
|
-
By default, all bytes are reversed. Note that ``n`` is not limited
|
|
737
|
-
or 8, but can be any positive integer.
|
|
739
|
+
By default, all bytes are reversed. Note that ``n`` is **not** limited
|
|
740
|
+
to 2, 4 or 8, but can be any positive integer.
|
|
738
741
|
Also, ``a`` may be any object that exposes a writable buffer.
|
|
739
742
|
Nothing about this function is specific to bitarray objects.
|
|
740
743
|
|