Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'indicating': 0.05; 'character,': 0.07; 'continuation': 0.07; 'python': 0.09; 'pep': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:string': 0.09; 'thread': 0.11; 'suggest': 0.11; '"this': 0.13; 'languages.': 0.15; '"le': 0.16; 'antoine': 0.16; 'calendar': 0.16; 'deficiencies': 0.16; 'drafted': 0.16; 'fancy': 0.16; 'observations': 0.16; 'perceived': 0.16; 'pitrou': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'sorting': 0.16; 'subject:unicode': 0.16; 'unneeded': 0.16; '\xe9crit': 0.16; 'wrote:': 0.17; 'code,': 0.18; 'input': 0.18; 'import': 0.21; 'os,': 0.22; 'satisfying': 0.22; "i've": 0.23; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'coding': 0.27; 'thoughts': 0.27; 'correct': 0.28; 'header:X -Complaints-To:1': 0.28; 'actual': 0.28; '>>>>': 0.29; 'acceptance': 0.29; 'character.': 0.29; 'wasting': 0.29; 'character': 0.29; 'words': 0.29; "i'm": 0.29; 'maybe': 0.29; 'implement': 0.32; 'from:addr:yahoo.co.uk': 0.32; 'to:addr:python- list': 0.33; 'knowledge': 0.33; 'requirements': 0.33; 'process,': 0.35; 'something': 0.35; 'there': 0.35; 'received:org': 0.36; 'but': 0.36; 'characters': 0.36; 'why': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'skip:l 20': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'real': 0.61; 'subject:, ': 0.61; 'spending': 0.61; 'first': 0.61; 'world': 0.63; 'subject:...': 0.63; 'email addr:gmail.com': 0.63; 'charset:windows-1252': 0.65; 'today.': 0.69; 'foreign': 0.72; '1st': 0.81; '"they': 0.84; 'algorithm,': 0.84; 'ask,': 0.84; 'subject:, ...': 0.84; 'received:89': 0.86 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Flexible string representation, unicode, typography, ... Date: Sun, 02 Sep 2012 09:58:14 +0100 References: <503a0d51$0$6574$c3e8da3$5496439d@news.astraweb.com> <503a8361$0$6574$c3e8da3$5496439d@news.astraweb.com> <2e92da71-fbd2-467f-9088-1c79fa7bcf69@googlegroups.com> <62566024-df1d-4948-a27a-45c7820ddc6c@googlegroups.com> <503f0e45$0$9416$c3e8da3$76491128@news.astraweb.com> <2a12ba52-232a-41b7-a906-1ec379bbddd7@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: host-89-243-198-118.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:15.0) Gecko/20120824 Thunderbird/15.0 In-Reply-To: <2a12ba52-232a-41b7-a906-1ec379bbddd7@googlegroups.com> X-Antivirus: avast! (VPS 120901-1, 01/09/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: 69 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1346576268 news.xs4all.nl 6868 [2001:888:2000:d::a6]:58233 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:28249 On 02/09/2012 08:36, wxjmfauth@gmail.com wrote: > Le jeudi 30 août 2012 17:01:50 UTC+2, Antoine Pitrou a écrit : >> >> >> I honestly suggest you shut up until you have a clue. >> > Désolé Antoine, > > I have not the knowledge to dive in the Python code, > but I know what is a character. You're a character, and from my observations on this thread you're very humorous. YMMV. > > The coding of the characters is a domain per se, > independent from the os, from the computer languages. > > Before spending time to implement a new algorithm, > maybe it is better to ask, if there is something > better than the actual schemes. Please write a new PEP indicating how you would correct your perceived deficiencies with PEP 393 and its implementation. > > I still remember my thoughts when I read the PEP 393 > discussion: "this is not logical", "they do no understand > typography", "atomic character ???", ... When PEP 393 was first drafted how much input did you give during the acceptance process, if any? > > Real world exemples. > >>>> import libfrancais >>>> li = ['noël', 'noir', 'nœud', 'noduleux', \ Why the unneeded continuation character, fancy wasting storage space? > ... 'noétique', 'noèse', 'noirâtre'] >>>> r = libfrancais.sortfr(li) >>>> r > ['noduleux', 'noël', 'noèse', 'noétique', 'nœud', 'noir', > 'noirâtre'] What has sorting foreign words got to do with the internal representaion of the individual characters? > > (cf "Le Petit Robert") > > or > > The *letters* satisfying the requirements of the > "Imprimerie nationale". > > jmf > I've just rechecked my calendar and it's definitly not 1st April today. Poor old me I'm baffled as always. -- Cheers. Mark Lawrence.