Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #35178

Re: Py 3.3, unicode / upper()

Path csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <anikom15@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'ignoring': 0.09; 'pep': 0.09; 'subject:()': 0.09; 'terry': 0.09; 'worse': 0.09; 'stored': 0.10; 'language': 0.14; 'cases': 0.15; 'dec': 0.15; '3.2,': 0.16; '>on': 0.16; 'both.': 0.16; 'cares': 0.16; 'obsessed': 0.16; 'reedy': 0.16; 'silly': 0.16; 'subject:3.3': 0.16; 'subject:unicode': 0.16; 'unfair': 0.16; 'utterly': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'bytes': 0.17; 'thu,': 0.17; 'unicode': 0.17; 'jan': 0.18; 'windows': 0.19; '3.2': 0.22; 'fixing': 0.22; "i've": 0.23; 'least': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; '(which': 0.26; 'am,': 0.27; 'bugs': 0.27; 'skip:> 10': 0.27; 'fixed': 0.28; 'actual': 0.28; 'chris': 0.28; 'character.': 0.29; 'really,': 0.29; 'represented': 0.29; 'thinks': 0.29; 'received:209.85.160.46': 0.32; 'cases,': 0.33; 'to:addr:python-list': 0.33; 'operations': 0.33; 'that,': 0.34; 'received:google.com': 0.34; 'done': 0.34; 'compared': 0.35; 'pm,': 0.35; 'received:209.85': 0.35; 'should': 0.36; 'charset:us- ascii': 0.36; 'enough': 0.36; 'optimization': 0.37; 'uses': 0.37; 'why': 0.37; 'received:209': 0.37; 'far': 0.37; 'subject:: ': 0.38; 'fact': 0.38; 'performance': 0.39; 'to:addr:python.org': 0.39; 'build': 0.39; 'space': 0.39; 'think': 0.40; 'content- disposition:inline': 0.60; 'most': 0.61; 'subject:, ': 0.61; 'containing': 0.61; 'more': 0.63; '20,': 0.65; 'overall': 0.66; 'him,': 0.66; 'all;': 0.84; 'complaint': 0.84; 'moral': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=f6ETPqP42ALCHeMD96/AQNo8HYksEKXC2t1W6Rx51WE=; b=tZ5sM+Lftk5P1da/yNffXVD7wyurmyQWntCsuGKTb+Ch2zzDBjzhhCSEZRZXEUJPbE VTShtel1j7Lo/uEPEiXiNATUS1mlCVOhOomZhpgmRtlM1FNMzigReeRRQ75dRuuKWLBA 4qWPw5Wmj2m+uCzSLoFzhsHZlHQH4admWQumCka5zcVhxP36K8dA6dXFNxfL6CGgSKBR YfR9/2EnAd3fuv7AERIe0rvX+1mFMYPIR/5HeZQcBbNW1O64MwZvLwVVRMAXwkB3//of F/SY/xI4i/JeCTS27Pd9XBWxK1SH/2JX/Iv04Cmv/rKf15dkjtIi0fArg3AC8NqgYHkc PjaQ==
X-Received by 10.68.235.71 with SMTP id uk7mr25436993pbc.10.1355973147957; Wed, 19 Dec 2012 19:12:27 -0800 (PST)
Date Wed, 19 Dec 2012 19:12:23 -0800
From Westley Martínez <anikom15@gmail.com>
To python-list@python.org
Subject Re: Py 3.3, unicode / upper()
References <2adb4a25-8ea3-441f-b8c0-ee6c87e4b19f@googlegroups.com> <kaslsb$iue$1@news.albasani.net> <CAPTjJmrLAe0i9rW6sCYkYBvpiPk2O=FHB0PgSq1dqNqh9Y7Zqg@mail.gmail.com> <CALwzid=jnj5LGcUXisj1U7bV_khfYrX+VH0BLswYoqX8bg9OpQ@mail.gmail.com> <CAPTjJmpmLubSUX+uDgP48Hme7gV=OvHHMKZ6izCAnW-z7Cr88w@mail.gmail.com> <katul2$5qo$1@ger.gmane.org>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <katul2$5qo$1@ger.gmane.org>
User-Agent Mutt/1.5.21 (2010-09-15)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1089.1355973157.29569.python-list@python.org> (permalink)
Lines 28
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1355973157 news.xs4all.nl 6908 [2001:888:2000:d::a6]:39678
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:35178

Show key headers only | View raw


On Wed, Dec 19, 2012 at 09:54:20PM -0500, Terry Reedy wrote:
> On 12/19/2012 9:03 PM, Chris Angelico wrote:
> >On Thu, Dec 20, 2012 at 5:27 AM, Ian Kelly <ian.g.kelly@gmail.com> wrote:
> >> From what I've been able to discern, [jmf's] actual complaint about PEP
> >>393 stems from misguided moral concerns.  With PEP-393, strings that
> >>can be fully represented in Latin-1 can be stored in half the space
> >>(ignoring fixed overhead) compared to strings containing at least one
> >>non-Latin-1 character.  jmf thinks this optimization is unfair to
> >>non-English users and immoral; he wants Latin-1 strings to be treated
> >>exactly like non-Latin-1 strings (I don't think he actually cares
> >>about non-BMP strings at all; if narrow-build Unicode is good enough
> >>for him, then it must be good enough for everybody).
> >
> >Not entirely; most of his complaints are based on performance (speed
> >and/or memory) of 3.3 compared to a narrow build of 3.2, using silly
> >edge cases to prove how much worse 3.3 is, while utterly ignoring the
> >fact that, in those self-same edge cases, 3.2 is buggy.
> 
> And the fact that stringbench.py is overall about as fast with 3.3
> as with 3.2 *on the same Windows 7 machine* (which uses narrow build
> in 3.2), and that unicode operations are not far from bytes
> operations when the same thing can be done with both.
> 
> -- 
> Terry Jan Reedy

Really, why should we be so obsessed with speed anyways?  Isn't
improving the language and fixing bugs far more important?

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Py 3.3, unicode / upper() wxjmfauth@gmail.com - 2012-12-19 06:23 -0800
  Re: Py 3.3, unicode / upper() Thomas Bach <thbach@students.uni-mainz.de> - 2012-12-19 15:43 +0100
  Re: Py 3.3, unicode / upper() Christian Heimes <christian@python.org> - 2012-12-19 15:52 +0100
    Re: Py 3.3, unicode / upper() wxjmfauth@gmail.com - 2012-12-19 12:55 -0800
      Re: Py 3.3, unicode / upper() Ian Kelly <ian.g.kelly@gmail.com> - 2012-12-19 14:23 -0700
        Re: Py 3.3, unicode / upper() wxjmfauth@gmail.com - 2012-12-20 11:42 -0800
        Re: Py 3.3, unicode / upper() wxjmfauth@gmail.com - 2012-12-20 11:42 -0800
      Re: Py 3.3, unicode / upper() Chris Angelico <rosuav@gmail.com> - 2012-12-20 13:01 +1100
      Re: Py 3.3, unicode / upper() Westley Martínez <anikom15@gmail.com> - 2012-12-19 18:53 -0800
    Re: Py 3.3, unicode / upper() wxjmfauth@gmail.com - 2012-12-19 12:55 -0800
  Re: Py 3.3, unicode / upper() Stefan Krah <stefan-usenet@bytereef.org> - 2012-12-19 16:01 +0100
  Re: Py 3.3, unicode / upper() Chris Angelico <rosuav@gmail.com> - 2012-12-20 02:17 +1100
  Re: Py 3.3, unicode / upper() Johannes Bauer <dfnsonfsduifb@gmx.de> - 2012-12-19 16:18 +0100
    Re: Py 3.3, unicode / upper() Johannes Bauer <dfnsonfsduifb@gmx.de> - 2012-12-19 16:22 +0100
    Re: Py 3.3, unicode / upper() Chris Angelico <rosuav@gmail.com> - 2012-12-20 02:40 +1100
      Re: Py 3.3, unicode / upper() Johannes Bauer <dfnsonfsduifb@gmx.de> - 2012-12-20 15:57 +0100
    Re: Py 3.3, unicode / upper() Ian Kelly <ian.g.kelly@gmail.com> - 2012-12-19 11:27 -0700
      Re: Py 3.3, unicode / upper() wxjmfauth@gmail.com - 2012-12-19 13:18 -0800
        Re: Py 3.3, unicode / upper() Ian Kelly <ian.g.kelly@gmail.com> - 2012-12-19 14:31 -0700
          Re: Py 3.3, unicode / upper() wxjmfauth@gmail.com - 2012-12-20 11:40 -0800
            Re: Py 3.3, unicode / upper() Terry Reedy <tjreedy@udel.edu> - 2012-12-20 17:48 -0500
            Re: Py 3.3, unicode / upper() Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-12-20 22:51 +0000
          Re: Py 3.3, unicode / upper() wxjmfauth@gmail.com - 2012-12-20 11:40 -0800
      Re: Py 3.3, unicode / upper() wxjmfauth@gmail.com - 2012-12-19 13:18 -0800
    Re: Py 3.3, unicode / upper() Terry Reedy <tjreedy@udel.edu> - 2012-12-19 19:39 -0500
    Re: Py 3.3, unicode / upper() Chris Angelico <rosuav@gmail.com> - 2012-12-20 13:03 +1100
    Re: Py 3.3, unicode / upper() Terry Reedy <tjreedy@udel.edu> - 2012-12-19 21:54 -0500
    Re: Py 3.3, unicode / upper() Westley Martínez <anikom15@gmail.com> - 2012-12-19 19:12 -0800
    Re: Py 3.3, unicode / upper() Chris Angelico <rosuav@gmail.com> - 2012-12-20 14:22 +1100
    Re: Py 3.3, unicode / upper() Terry Reedy <tjreedy@udel.edu> - 2012-12-20 00:32 -0500
      Re: Py 3.3, unicode / upper() Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-12-20 05:51 +0000
      Re: Py 3.3, unicode / upper() wxjmfauth@gmail.com - 2012-12-20 11:57 -0800
        Re: Py 3.3, unicode / upper() Terry Reedy <tjreedy@udel.edu> - 2012-12-20 17:30 -0500
      Re: Py 3.3, unicode / upper() wxjmfauth@gmail.com - 2012-12-20 11:57 -0800
    Re: Py 3.3, unicode / upper() Serhiy Storchaka <storchaka@gmail.com> - 2012-12-27 21:00 +0200
      Re: Py 3.3, unicode / upper() wxjmfauth@gmail.com - 2012-12-27 11:36 -0800
      Re: Py 3.3, unicode / upper() wxjmfauth@gmail.com - 2012-12-27 11:36 -0800
  Re: Py 3.3, unicode / upper() Christian Heimes <christian@python.org> - 2012-12-19 16:33 +0100
    Re: Py 3.3, unicode / upper() wxjmfauth@gmail.com - 2012-12-29 11:16 -0800
    Re: Py 3.3, unicode / upper() wxjmfauth@gmail.com - 2012-12-29 11:16 -0800
  Re: Py 3.3, unicode / upper() Benjamin Peterson <benjamin@python.org> - 2012-12-19 20:25 +0000
  Re: Py 3.3, unicode / upper() wxjmfauth@gmail.com - 2012-12-20 11:19 -0800
    Re: Py 3.3, unicode / upper() MRAB <python@mrabarnett.plus.com> - 2012-12-20 20:20 +0000
    Re: Py 3.3, unicode / upper() Chris Angelico <rosuav@gmail.com> - 2012-12-21 08:19 +1100
    Re: Py 3.3, unicode / upper() Terry Reedy <tjreedy@udel.edu> - 2012-12-20 17:12 -0500
    Re: Py 3.3, unicode / upper() Terry Reedy <tjreedy@udel.edu> - 2012-12-20 17:59 -0500
    Re: Py 3.3, unicode / upper() Ian Kelly <ian.g.kelly@gmail.com> - 2012-12-20 17:34 -0700

csiph-web