Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feed.xsnews.nl!border-1.ams.xsnews.nl!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; 'python,': 0.02; 'broken': 0.03; 'languages,': 0.04; 'subject:Python': 0.05; 'received:mail- vc0-f174.google.com': 0.09; 'sep': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'surrogates': 0.16; 'string': 0.17; 'wrote:': 0.17; 'comparing': 0.17; 'thu,': 0.17; 'unicode': 0.17; 'appears': 0.18; 'split': 0.23; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'behaviour': 0.29; 'character.': 0.29; 'received:209.85.220.174': 0.29; 'no,': 0.29; "i'm": 0.29; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'anything': 0.36; 'two': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'takes': 0.39; 'build': 0.39; 'space': 0.39; 'header:Received:5': 0.40; 'apart.': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=w9CN4DyoQ0E1QSDx9q2aju7a/eYArWvSlq6I5yDQCNo=; b=meTq1XKbE8cU3GXZqUCCci3Sp8pWj3dQd4BiRpKua3Icw3V36wj8KxyIpIv+lgOUmt Iq0HfQPQf3RXlS3LCMYGI3e6/14ZgEhDbm/lB3xzOGx4FWZDlgu54hapVvA76g+yX0cP zV/MsRhmkbUJcttg+r53COuCbyTszARImzi39/51xt6iPtVmjp6gKob+kJ/W1HLGKzY8 pdpZxaklMN5t4xRE95eljLkr3q+dDBVOra2j7nGjatJ6nFIrAqIsAmvlM+2lBHMDaAcq WugBH4RE5qIcD5waWKLjEY3mgcArt26KbJKw3LrlfGH20T1+i2acJw2ne2WSsDEh14Gr ubPg== MIME-Version: 1.0 In-Reply-To: <447851a9-bc63-4711-a4e6-bff565e28f1f@googlegroups.com> References: <5062ad83$0$29997$c3e8da3$5496439d@news.astraweb.com> <693ac61b-b1d3-4192-9e50-5166fd119278@googlegroups.com> <447851a9-bc63-4711-a4e6-bff565e28f1f@googlegroups.com> Date: Thu, 27 Sep 2012 00:24:12 +1000 Subject: Re: Article on the future of Python From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1348669456 news.xs4all.nl 6905 [2001:888:2000:d::a6]:48506 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:30207 On Thu, Sep 27, 2012 at 12:19 AM, wrote: > No, I'm comparing Py33 with Py32 narrow build [*]. Then look at the broken behaviour that Python, up until now, shared with Javascript and various other languages, in which a one-character string appears as two characters, and slicing and splicing strings can split surrogates apart. The new rule is simple: One Unicode codepoint takes up the space of one character. Anything else is mindbogglingly counterintuitive. ChrisA