[issue19251] bitwise ops for bytes of equal length

STINNER Victor report at bugs.python.org
Fri Jan 8 05:24:39 EST 2016


STINNER Victor added the comment:

> I'm very skeptical of this. I expect it would cause quite a few surprises for people who aren't used to bitmask operations on integers, let alone on (byte) strings.

Maybe it makes more sense to implement such operation on the array.array type? But only for integer types (ex: not for 'd', float)?

----------

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


More information about the Python-bugs-list mailing list