Re: [Python-Dev] order of Misc/ACKS

2011-11-13 Thread Stephen J. Turnbull
Xavier Morel writes: > On 2011-11-12, at 10:24 , Georg Brandl wrote: > > Am 12.11.2011 08:03, schrieb Stephen J. Turnbull: > >> 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 > > worryi

Re: [Python-Dev] order of Misc/ACKS

2011-11-12 Thread Xavier Morel
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 orde

Re: [Python-Dev] order of Misc/ACKS

2011-11-12 Thread Barry Warsaw
On Nov 12, 2011, at 04:03 PM, Stephen J. Turnbull wrote: >The sensible thing is to just sort in Unicode code point order, I >think. M-x sort-lines-by-unicode-point-order RET -Barry ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.

Re: [Python-Dev] order of Misc/ACKS

2011-11-12 Thread Georg Brandl
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

Re: [Python-Dev] order of Misc/ACKS

2011-11-12 Thread Larry Hastings
On 11/11/2011 11:03 PM, Stephen J. Turnbull wrote: The sensible thing is to just sort in Unicode code point order, I think. I was going to suggest the official Unicode Collation Algorithm: http://unicode.org/reports/tr10/ But I peeked in the can, saw it was chock-a-block with worms, and d

Re: [Python-Dev] order of Misc/ACKS

2011-11-11 Thread 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 lang

Re: [Python-Dev] order of Misc/ACKS

2011-11-11 Thread Eli Bendersky
> 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'

Re: [Python-Dev] order of Misc/ACKS

2011-11-11 Thread Martin v. Löwis
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

Re: [Python-Dev] order of Misc/ACKS

2011-11-11 Thread 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 alphabetic

[Python-Dev] order of Misc/ACKS

2011-11-11 Thread Eli Bendersky
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