forked from pool/python-bitarray
8bda65efdac2e6b3dba66ffca080faa5204be876ef49689a25ab921d9b774fed
- Update to 1.5.2: * add PyType_Ready usage, issue #66 * speedup search() for bitarrays with length 1 in sparse bitarrays, see issue #67 * add tests * support signed integers in `util.ba2int()` and `util.int2ba()`, see issue #85 * deprecate `.length()` in favor of `len()` * Use `Py_ssize_t` for bitarray index. This means that on 32bit systems, the maximun number of elements in a bitarray is 2 GBits. We used to have a special 64bit index type for all architectures, but this prevented us from using Python's sequence, mapping and number methods, and made those method lookups slow. * speedup slice operations when step size = 1 (if alignment allows copying whole bytes) * Require equal endianness for operations: `&`, `|`, `^`, `&=`, `|=`, `^=`. This should have always been the case but was overlooked in the past. * raise TypeError when tring to create bitarray from boolean * This will be last release to still support Python 2.6 (which was retired in 2013). We do NOT plan to stop support for Python 2.7 anytime soon. OBS-URL: https://build.opensuse.org/request/show/830624 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=4
Description
No description provided
Languages
RPM Spec
100%