
March 2, 2021
5:13 p.m.
mmax42852@gmail.com writes:
I propose an array-type string like the, or for the bytearray. It would work as a mutable b-string, as
foo = a"\x00\x01\x02abcÿ" # a-string, a mutable bytes object.
I don't work with bytes much, so I won't comment on the proposal itself. But as somebody who works a lot in email, where ASCII vs. everything else is a really important distinction, that looks like 'ASCII string "\x00\x01\x02abcÿ"' to me (despite the binary notations). So I'd prefer a different prefix. Steve