Comment by mort96

18 days ago

It's so annoying how so many languages lack a basic "ASCII lowercase" and "ASCII uppercase" function. All the Unicode logic is not only unnecessary, but actively unwanted, when you e.g want to change the case of a hex encoded string or do normalization on some machine generated ASCII-only output.

> It's so annoying how so many languages lack a basic "ASCII lowercase" and "ASCII uppercase" function

How about b''.lower() ?