python-bloomfilter icon indicating copy to clipboard operation
python-bloomfilter copied to clipboard

dependency fix: bitarray v1.5.1

Open a1exlism opened this issue 3 years ago • 1 comments

Due to the update of bitarray(refer HERE)

2021-04-14 2.0.0:

  • remove .length() method (deprecated since 1.5.1 - use len())

the codes in fromfile method update with len() instead of .length().

Code tested after the update.

a1exlism avatar Jul 01 '21 08:07 a1exlism

I had the same problem in my code and the error was: AttributeError: 'bitarray.bitarray' object has no attribute 'length' I change for len() and went from this filter.bitarray.length() to this len(filter.bitarray)

Meiple avatar May 31 '22 05:05 Meiple