Issue31656
Created on 2017-10-01 15:01 by MGilch, last changed 2022-04-11 14:58 by admin. This issue is now closed.
| Messages (4) | |||
|---|---|---|---|
| msg303464 - (view) | Author: Matthias Gilch (MGilch) * | Date: 2017-10-01 15:01 | |
I've seen that the bytes type does not support bitwise operations, but I think users would expect that those operations will work. |
|||
| msg303466 - (view) | Author: R. David Murray (r.david.murray) * ![]() |
Date: 2017-10-01 15:30 | |
What happens when you apply a bitwise operation to two bytes objects of unequal length? Since the answer to that question is not obvious, we simply don't support the operation. If you want to make a proposal for this the python-ideas mailing list would be the appropriate forum. |
|||
| msg303492 - (view) | Author: Martin Panter (martin.panter) * ![]() |
Date: 2017-10-01 21:13 | |
There’s already a bug open for this: Issue 19251. Only equal-length strings should be supported. |
|||
| msg316932 - (view) | Author: Alyssa Coghlan (ncoghlan) * ![]() |
Date: 2018-05-17 14:04 | |
Issue 19251 is still under consideration, so marking this as a duplicate, rather than as rejected. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:53 | admin | set | github: 75837 |
| 2018-05-17 14:04:38 | ncoghlan | set | nosy:
+ ncoghlan messages: + msg316932 resolution: rejected -> duplicate superseder: bitwise ops for bytes of equal length |
| 2017-10-01 21:13:01 | martin.panter | set | nosy:
+ martin.panter messages: + msg303492 |
| 2017-10-01 15:30:51 | r.david.murray | set | status: open -> closed nosy:
+ r.david.murray resolution: rejected |
| 2017-10-01 15:01:16 | MGilch | create | |
