[Python-Dev] order of Misc/ACKS

Xavier Morel catch-all at masklinn.net
Sat Nov 12 16:45:14 CET 2011


On 2011-11-12, at 10:24 , Georg Brandl wrote:
> Am 12.11.2011 08:03, schrieb Stephen J. Turnbull:
>> Eli Bendersky writes:
>> 
>>> special locale. It makes me wonder whether it's possible to have a
>>> contradiction in the ordering, i.e. have a set of names that just
>>> can't be sorted in any order acceptable by everyone.
>> 
>> Yes, it is.  The examples were already given in this thread.  The
>> Han-using languages also have this problem, and Japanese is
>> nondetermistic all by itself (there are kanji names which for
>> historical reasons are pronounced in several different ways, and
>> therefore cannot be placed in phonetic order without additional
>> information).
>> 
>> The sensible thing is to just sort in Unicode code point order, I
>> think.
> 
> The sensible thing is to accept that there is no solution, and to stop
> worrying.
The file could use the default collation order, that way it'd be incorrectly sorted for everybody.


More information about the Python-Dev mailing list