mmax42...@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 _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/EM6BOWSQTB2CJ7ZLLNU3GAMTEOCYOLFL/ Code of Conduct: http://python.org/psf/codeofconduct/