On 16 Feb 2023, at 19:45, Ben Rudiak-Gould <benrud...@gmail.com> wrote:


On Thu, Feb 16, 2023 at 8:09 AM Barry <ba...@barrys-emacs.org> wrote:
This is valid and does not match your rules. ‘\x9b’ that is the ANSI CSI in 8-bit.
In 7-bit it is ‘\x1b[‘.

Shouldn't that be b‘\x9b’?

No. I can work in unicode internally and only encode to bytes for output.

Barry

_______________________________________________
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/DL73X7VOXRSREL4MAKA3TMYDW647IJEG/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to