[Python-Dev] order of Misc/ACKS
"Martin v. Löwis"
martin at v.loewis.de
Fri Nov 11 11:59:33 CET 2011
Am 11.11.2011 10:56, schrieb Ezio Melotti:
> On 11/11/2011 10.39, Eli Bendersky wrote:
>> The PS: at the top of Misc/ACKS says:
>> PS: In the standard Python distribution, this file is encoded in UTF-8
>> and the list is in rough alphabetical order by last names.
>> However, the last 3 names in the list don't appear to be part of that
>> alphabetical order. Is this somehow intentional, or just a mistake?
> Only the last two are out of place, and should be fixed. The 'Å' in
> "Peter Åstrand" sorts after 'Z'.
> See http://mail.python.org/pipermail/python-dev/2010-August/102961.html
> for a discussion about the order of Misc/ACKS.
The key point here is that it is *rough* alphabetic order. IMO, sorting
accented characters along with their unaccented versions would be fine
as well, and be more practical. In general, it's not possible to provide
a "correct" alphabetic order. For example, in German, 'ö' sorts after
'o', whereas in Swedish, it sorts after 'z'. In fact, in German, we have
two different ways of sorting the ö: one is to treat it is a letter
after o, and the other is to treat it as equivalent to oe.
More information about the Python-Dev