The comparison methods on Python's str are codepoint-by-codepoint.
A neat fact about UTF-8 is that bytewise comparisons on UTF-8 are
equivalent to doing codepoint comparisons.
But this isn't relevant to Python's str, because Python's str never uses UTF-8.
On Wed, Oct 12, 2016 at 2:45 PM, Elliot Gorokhovsky
>> So what's Python doing? Is it a codepoint ordering?
> ...ya...how is the python interpreter supposed to know what language strings
> are in? There is a unique ordering of unicode strings defined by the unicode
> standard, AFAIK.
> If you want to sort by natural language ordering, see here:
> Python-ideas mailing list
> Code of Conduct: http://python.org/psf/codeofconduct/
Nathaniel J. Smith -- https://vorpus.org
Python-ideas mailing list
Code of Conduct: http://python.org/psf/codeofconduct/