[Python-Dev] Re: PEP 467 feedback from the Steering Council

2021年9月08日 13:36:35 -0700

On 9/8/21 1:21 PM, Christopher Barker wrote:
> NOTE: my objection to "bchr", whether as a builtin or not is not the 
functionality, it’s the
> name. Equating a byte with a character is a legacy of C ( and Python 2" — in 
Python 3, they
> are completely distinct concepts.
No, they aren't. If you are working in a domain that uses ascii encoding (such as many network protocols), then those bytes represent characters -- this is why, for example, %-interpolation was added back to bytes.
--
~Ethan~
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/4BG2BXAE3RGKQEGBHYW4IRLHEB3G6XNR/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to