File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed
Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1- 2025-11-XX 3.8.0:
1+ 2025-11-02 3.8.0:
22-------------------
3- * add experimental support for free-threaded builds (GIL disabled)
3+ * add experimental support for free-threaded builds (GIL disabled), #234
44 * remove `_set_default_endian()`
55 * add `.__bytes__()`, see #246
66
Original file line number Diff line number Diff line change 11Change log
22==========
33
4+ **3.8.0 ** (2025-11-02):
5+
6+ * add experimental support for free-threaded builds (GIL disabled), `#234 <https://github.com/ilanschnell/bitarray/issues/234 >`__
7+ * remove ``_set_default_endian() ``
8+ * add ``.__bytes__() ``, see `#246 <https://github.com/ilanschnell/bitarray/issues/246 >`__
9+
10+
411**3.7.2 ** (2025-10-08):
512
613* enable ``util.random_k() `` for all supported Python versions,
Original file line number Diff line number Diff line change 11Reference
22=========
33
4- bitarray version: 3.7.2 -- `change log <https://github.com/ilanschnell/bitarray/blob/master/doc/changelog.rst >`__
4+ bitarray version: 3.8.0 -- `change log <https://github.com/ilanschnell/bitarray/blob/master/doc/changelog.rst >`__
55
66In the following, ``item `` and ``value `` are usually a single bit -
77an integer 0 or 1.
@@ -237,6 +237,7 @@ bitarray methods:
237237
238238``tobytes() `` -> bytes
239239 Return the bitarray buffer (pad bits are set to zero).
240+ ``a.tobytes() `` is equivalent to ``bytes(a) ``
240241
241242
242243``tofile(f, /) ``
@@ -307,8 +308,6 @@ Functions defined in the `bitarray` module:
307308
308309``get_default_endian() `` -> str
309310 Return the default bit-endianness for new bitarray objects being created.
310- Unless ``_set_default_endian('little') `` was called, the default
311- bit-endianness is ``big ``.
312311
313312 New in version 1.3
314313
You can’t perform that action at this time.
0 commit comments