Am 11.11.2011 10:56, schrieb Ezio Melotti: > Hi, > > 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. Regards, Martin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com