9 Nov
2021
9 Nov
'21
12:41 p.m.
On Mon, Nov 8, 2021 at 8:21 PM Ethan Furman
The difference with the built-in ascii is the absence of extra quotes and the `b` indicator when a string is used:
```
u_var = u'abc' bytes.ascii(u_var) b'abc'
What about bytes, bytearray and memoryview? What is the expected behavior?
I expect that memoryview is not supported (return something like
b'