On 16 Feb 2023, at 19:45, Ben Rudiak-Gould <[email protected]> wrote:


On Thu, Feb 16, 2023 at 8:09 AM Barry <[email protected]> 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 -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/DL73X7VOXRSREL4MAKA3TMYDW647IJEG/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to