Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!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.017 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'python': 0.09; 'argument,': 0.09; 'subject:string': 0.09; 'aug': 0.13; 'sat,': 0.15; '4-byte': 0.16; 'correctness': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'grounds': 0.16; 'subject:unicode': 0.16; 'wrote:': 0.17; 'saying': 0.18; 'memory': 0.18; 'preferred': 0.20; 'received:209.85.214.174': 0.21; 'least': 0.25; 'header:In-Reply-To:1': 0.25; 'expansion': 0.27; 'message- id:@mail.gmail.com': 0.27; 'there.': 0.28; 'complain': 0.29; 'gets': 0.32; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'there': 0.35; 'but': 0.36; 'does': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'performance': 0.39; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'build': 0.39; 'header:Received:5': 0.40; 'think': 0.40; 'subject:, ': 0.61; 'subject:...': 0.63; 'more': 0.63; 'saving': 0.72; 'frank': 0.75; 'subject:, ...': 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=Cj0QD/9ySI3i1d+dqk9wf+MQeBXlGnquHbSWDwzeFuI=; b=QWhrwDWI7d4MN+fKwRhZlmCo988F3Ms4QaggBcd/6inulTSaxdw9T5JAu+OaqG4SpL GZLI4OZJ7JHgslMvtCUbBJs1EkCQcwt1HvLSl/DYbIfoH76mDTlOMvLyQbbvUNCehBEo NI4tB6tPgw2MbOnhi59m4oneNmH52kZxxhygh/SNI9yA9VNRdWkF8rBg0JaIANKPOTTU zmVFOM405B4wRYp+UJxgnuSD4viAnAqGDU86FngszQ3rE3e5UmE2eZSYhiWajFcWiQdr qBcVxTQSmlhequ6noQ4xrZTBSpgEJLbYAm6eM6r4aaUKVuNoOXaF6+IT0uU5kNTRhpOe OUrA== MIME-Version: 1.0 In-Reply-To: References: <1874857c-68ef-4c1b-b15a-46ef47df9445@googlegroups.com> <1cb3f062-eb45-4b0c-977b-76afb099923c@googlegroups.com> Date: Sat, 25 Aug 2012 21:04:10 +1000 Subject: Re: Flexible string representation, unicode, typography, ... 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.12 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: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1345892653 news.xs4all.nl 6865 [2001:888:2000:d::a6]:39521 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:27864 On Sat, Aug 25, 2012 at 7:46 PM, Frank Millman wrote: > Therefore, I think he is saying that he would have preferred that python > standardise on 4-byte characters, on the grounds that the saving in memory > does not justify the performance overhead. If that's indeed the argument, then at least it's something to argue. What gets difficult is when people complain about the expansion from a 2-byte narrow build to the current 1/2/4-byte representation, which will indeed use more memory if there are a small number of >0xFFFF codepoints. But there's a correctness difference there. ChrisA