[issue19251] bitwise ops for bytes of equal length
Serhiy Storchaka
report at bugs.python.org
Sat May 19 04:45:06 EDT 2018
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
I don't understand what relation this issue has with Nick's use case. If you need to access separate fields in a binary packed structure, adding support of extended PEP 3118 like syntax in memoryview can help you. If you want to to alter separate bits, you may need something like a bit array view. If you need to change specific physical memory, you need a different view object (maybe something in ctypes). But what relation all this have with b'123' ^ b'abc'?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue19251>
_______________________________________
More information about the Python-bugs-list
mailing list