On Fri, 6 Aug 2021 01:37:48 +0900 "Stephen J. Turnbull" <turnbull.stephen...@u.tsukuba.ac.jp> wrote: > Christopher Barker writes: > > > A byte is not a character > > While I am -0.5 on bchr for many of the reasons already cited in the > thread (and would be -1 if the methods names proposed for the feature > were a bit more aesthetic), I don't think this argument is valid. > Bytes that could otherwise be arbitrary (aka "magic numbers") are > *often* chosen because they correspond to the ASCII repertoire. And > strings is still a useful utility for C programmers, even if not so > much for others.
In what context is `bchr()` useful? Regards Antoine. _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/MLJRB4YJBSWPCC75UVFHHXDKMOQVEMZT/ Code of Conduct: http://python.org/psf/codeofconduct/