[issue19915] int.bit_at(n) - Accessing a single bit in O(1)

Serhiy Storchaka report at bugs.python.org
Sat Dec 7 08:52:46 CET 2013


Serhiy Storchaka added the comment:

> My want has been for a bitarray (parallel to the existing bytearray type).

Or bitview (parallel to the existing memoryview type). It should work as with int's and bytes object's (immutable), so with bytearray (mutable).

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19915>
_______________________________________


More information about the Python-bugs-list mailing list