Hello community,
here is the log from the commit of package python-bitarray for openSUSE:Factory
checked in at 2020-08-05 20:28:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
and /work/SRC/openSUSE:Factory/.python-bitarray.new.3592 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-bitarray"
Wed Aug 5 20:28:21 2020 rev:3 rq:824394 version:1.4.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes
2020-07-08 19:13:14.523160390 +0200
+++
/work/SRC/openSUSE:Factory/.python-bitarray.new.3592/python-bitarray.changes
2020-08-05 20:28:31.211071095 +0200
@@ -1,0 +2,31 @@
+Wed Aug 5 00:59:24 UTC 2020 - Steve Kowalik <[email protected]>
+
+- Update to 1.4.2:
+ * C-level:
+ - simplify pack/unpack code
+ - fix memory leak in `~` operation (bitarray_cpinvert)
+ * add official Python 3.9 support
+ * improve many docstrings
+ * add DeprecationWarning for `bitdiff()`
+ * add DeprecationWarning when trying to extend bitarrays
+ from bytes on Python 3 (`bitarrays(b'011')` and `.extend(b'110')`)
+ * C-level:
+ - rewrote `.fromfile()` and `.tofile()` implementation,
+ such that now the same code is used for Python 2 and 3.
+ The new implementation is more memoery efficient on
+ Python 3.
+ - use memcmp() in richcompare to shortcut EQ/NE, when
+ comparing two very large bitarrays for equality the
+ speedup can easily be 100x
+ - simplify how unpacking is handled
+ * add more tests
+ * add `.clear()` method (Python 3.3 added this method to lists)
+ * avoid overallocation when bitarray objects are initially created
+ * raise BufferError when resizing bitarrays which is exporting buffers
+ * add example to study the resize() function
+ * improve some error messages
+ * raise `NotImplementedError` with (useful message) when trying to call
+ the `.fromstring()` or `.tostring()` methods, which have been removed
+ in the last release
+
+-------------------------------------------------------------------
Old:
----
bitarray-1.3.0.tar.gz
New:
----
bitarray-1.4.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-bitarray.spec ++++++
--- /var/tmp/diff_new_pack.lESsru/_old 2020-08-05 20:28:31.955071483 +0200
+++ /var/tmp/diff_new_pack.lESsru/_new 2020-08-05 20:28:31.959071485 +0200
@@ -18,11 +18,10 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-bitarray
-Version: 1.3.0
+Version: 1.4.2
Release: 0
Summary: Efficient Arrays of Booleans
License: Python-2.0
-Group: Development/Languages/Python
URL: https://github.com/ilanschnell/bitarray
Source:
https://github.com/ilanschnell/bitarray/archive/%{version}.tar.gz#/bitarray-%{version}.tar.gz
BuildRequires: %{python_module devel}
++++++ bitarray-1.3.0.tar.gz -> bitarray-1.4.2.tar.gz ++++++
++++ 3799 lines of diff (skipped)