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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'ascii': 0.07; 'escape': 0.07; 'false.': 0.07; 'strings.': 0.07; 'python': 0.09; 'definition,': 0.09; 'docstrings': 0.09; 'non-ascii': 0.09; 'objects.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'regression': 0.09; 'speakers,': 0.09; 'subject:()': 0.09; 'symbols': 0.09; 'terry': 0.09; 'cases': 0.15; '(just': 0.16; '3.3.': 0.16; 'did.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'sense,': 0.16; 'subject:3.3': 0.16; 'subject:unicode': 0.16; 'wrote:': 0.17; 'test.': 0.17; 'jan': 0.18; '3.2': 0.22; 'posted': 0.22; 'user.': 0.23; 'non': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'header:X-Complaints-To:1': 0.28; 'run': 0.28; 'cases.': 0.29; 'character.': 0.29; 'yes.': 0.29; 'definition': 0.29; 'code': 0.31; 'to:addr:python-list': 0.33; '(with': 0.33; 'compared': 0.35; 'false': 0.35; 'otherwise.': 0.35; 'said,': 0.35; 'pm,': 0.35; 'there': 0.35; 'received:org': 0.36; 'bad': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'instead': 0.39; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'easy': 0.60; 'subject:, ': 0.61; 'email addr:gmail.com': 0.63; 'here': 0.65; 'become': 0.65; 'user,': 0.69; 'contrary': 0.71; 'presented': 0.72; '*every': 0.84; 'conclusions': 0.84; 'optimisation': 0.84; 'received:fios.verizon.net': 0.84; 'starters,': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Py 3.3, unicode / upper() Date: Thu, 20 Dec 2012 17:12:20 -0500 References: <2adb4a25-8ea3-441f-b8c0-ee6c87e4b19f@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-173-75-251-66.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: 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: 40 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1356041561 news.xs4all.nl 6860 [2001:888:2000:d::a6]:45979 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35233 On 12/20/2012 2:19 PM, wxjmfauth@gmail.com wrote: > > If you are an "ascii" user, a FSR model has no sense. An > "ascii" user will use, per definition, only "ascii characters". > > If you are a "non-ascii" user, the FSR model is also a non > sense, because you are per definition a n"on-ascii" user of > "non-ascii" character. Any optimisation for "ascii" user just > become irrelevant. This is a false dichotomy. Conclusions based on falsity are false. > In one sense, to escape from this, you have to be at the same time > a non "ascii" user and a non "non-ascii" user. Impossible. This is wrong. Every Python user is an ascii user. All names in the stdlib are ascii-only. These names all become strings in code objects. All docstrings (with a couple of rare exceptions) are ascii-only. They also become strings. *Every Python user* benefits from the new system in 3.3. Some Python users are also non-ascii user. This include many English speakers, as many English texts include non-ascii characters. (Just for starters, the copyright and trademark symbols are not in the ascii set.) > Contrary to what has been said, the bad cases I presented here are > not corner cases. There is practically and systematically a regression > in Py33 compared to Py32. I posted evidence otherwise. Jim never responded to those posts. Instead he repeats the falsehood refuted by evidence. > That's very easy to test. Yes. Run stringbench.py on the OS/machine on 3.2 and 3.3 as I did. -- Terry Jan Reedy