[issue19251] bitwise ops for bytes of equal length

Christian Heimes report at bugs.python.org
Fri Jan 8 07:57:09 EST 2016


Christian Heimes added the comment:

Serhiy’s bitarray idea has another benefit. Bit masking is only haft of the story. Since Python's int type has no length information, it not possible to handle shifting with overflow and rotation. A bit array can provide bit shifting ops like rshift, lshift, rotr and rotl.

----------

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


More information about the Python-bugs-list mailing list