Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'encoding': 0.05; 'subject:Python': 0.06; 'binary': 0.07; 'correct.': 0.07; 'removes': 0.07; 'cc:addr:python-list': 0.11; 'python': 0.11; 'character.': 0.16; 'compression': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'zeros': 0.16; 'wrote:': 0.18; 'otherwise,': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; '15,': 0.26; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'michael': 0.29; 'wonder': 0.29; 'message-id:@mail.gmail.com': 0.30; 'languages': 0.32; 'quite': 0.32; 'no,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'accuracy': 0.36; 'system,': 0.38; 'pm,': 0.38; 'kind': 0.63; 'jul': 0.74; '1:47': 0.91; 'to:none': 0.92 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:cc :content-type; bh=11TNtKbddgB+1sQco3g/36vWBpF6HeI+P5jSSMcrO2Y=; b=ubkhHhVX0QQwOpuY15qv3T46oHa+c+EahefUGQR75/0USdJMvC8I81vJHfr5o/Fr/j e8yN4J5GPQJce+KuEp+7NFpL8nxMq2ChK8rAjQbUMxbqloibuiTkzpSOqVrQhK/TzqOo ozNgg4Ovzir2rGzCNOuM9553Bb1Nbg6AUv07q5yO02rUIc6Hnwp1JDxtceRwdnw7OYkC WlHURnpK1y86+fhAlZ7WUc1Eag+ilYjmLY5CLScrThgVc1ke3gdlXy+Cx9aYDyCBtrUT beZEMhjUf9rwesinqAzKpCRwWTiCpLAz6cPkIX6eoy5OSWfsqjPmAfWk63gNsyGEReFi dhiA== MIME-Version: 1.0 X-Received: by 10.58.198.67 with SMTP id ja3mr20242599vec.10.1405398036110; Mon, 14 Jul 2014 21:20:36 -0700 (PDT) In-Reply-To: <53C4A454.9010600@gmail.com> References: <57ajo9poljjre4c4ig0n0ss8kph8k78lp0@4ax.com> <5389cb53$0$29978$c3e8da3$5496439d@news.astraweb.com> <99b7b2a2-7521-42d7-a5a0-1a35d4d5b922@googlegroups.com> <53C4A454.9010600@gmail.com> Date: Tue, 15 Jul 2014 14:20:36 +1000 Subject: Re: Python 3 is killing Python From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1405398039 news.xs4all.nl 2961 [2001:888:2000:d::a6]:48211 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:74464 On Tue, Jul 15, 2014 at 1:47 PM, Michael Torrie wrote: > Python 3 uses UTF-4 encoding under the hood, with a > compression optimization that removes leading zeros from binary > representation of each character. Sorry to nitpick, but in the interests of terminological accuracy I have to point out that it's UTF-32 or UCS-4, not UTF-4 :) But otherwise, yes, quite correct. And a system that few, but not no, other languages use; I do wonder if other languages have considered switching to this kind of system, but avoided it lest jmf start haunting them too... ChrisA