Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'languages,': 0.04; 'correspond': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'encoding': 0.15; 'dictionary.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'roy': 0.16; 'this).': 0.16; 'wrote:': 0.17; '>>>': 0.18; 'sort': 0.21; 'assuming': 0.22; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'creating': 0.26; "doesn't": 0.28; 'header:X -Complaints-To:1': 0.28; "i'm": 0.29; '(and': 0.32; 'from:addr:yahoo.co.uk': 0.32; 'to:addr:python-list': 0.33; 'built-in': 0.35; 'received:org': 0.36; 'really': 0.36; 'subject:: ': 0.38; 'mark': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'called': 0.39; 'header:Received:5': 0.40; 'telling': 0.61; 'our': 0.65; 'wanting': 0.65; 'secret': 0.71; 'smith': 0.71; 'article': 0.78; 'dutch': 0.91; 'minute.': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Custom alphabetical sort Date: Mon, 24 Dec 2012 18:07:34 +0000 References: <46db479a-d16f-4f64-aaf2-76de654185da@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-92-18-19-178.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: X-Antivirus: avast! (VPS 121224-2, 24/12/2012), Outbound message X-Antivirus-Status: Clean X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1356373275 news.xs4all.nl 6968 [2001:888:2000:d::a6]:60670 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35479 On 24/12/2012 17:40, Roy Smith wrote: > In article <46db479a-d16f-4f64-aaf2-76de654185da@googlegroups.com>, > Pander Musubi wrote: > >>> I'm assuming that doesn't correspond to some standard locale's collating >>> order, so we really do need to roll our own encoding (and that you have >>> a good reason for wanting to do this). >> >> It is for creating a Dutch dictionary. > > Wait a minute. You're telling me that Python, of all languages, doesn't > have a built-in way to sort Dutch words??? > There's a built-in called secret that's only available to those who are Dutch and members of the PSU. A slight aside, I understand that the BDFL is currently on holiday. For those who want a revolution now is as good a time as any :) -- Cheers. Mark Lawrence.