kutsurak / python-bitstring

Automatically exported from code.google.com/p/python-bitstring
0 stars 0 forks source link

BitStream.read("bytes:n") sometimes returns empty #102

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
in version 2.1.0, constbitarray.py:932 should read:

            return bytes(self._datastore.getbyteslice((start + self._offset) // 8, (start + self._offset + length) // 8))

Original issue reported on code.google.com by miriam.h...@gmail.com on 4 Feb 2011 at 6:24

GoogleCodeExporter commented 9 years ago
Thanks, you're right of course. Bug was introduced in 2.1.0 - will fix in 
2.1.1. 

Original comment by dr.scott...@gmail.com on 4 Feb 2011 at 10:10

GoogleCodeExporter commented 9 years ago
Fixed in r.873.

Original comment by dr.scott...@gmail.com on 4 Feb 2011 at 1:35

GoogleCodeExporter commented 9 years ago
Fix now available in 2.1.1.

Original comment by dr.scott...@gmail.com on 23 Feb 2011 at 12:06