Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.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.016 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.06; 'lawrence': 0.09; 'strings.': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'missed': 0.12; '10+': 0.16; 'fine.': 0.16; 'folding.': 0.16; 'unchanged': 0.16; 'wrote:': 0.18; '(not': 0.18; '>>>': 0.22; 'import': 0.22; 'cc:addr:python.org': 0.22; 'bytes': 0.24; 'text,': 0.24; 'unicode': 0.24; 'question': 0.24; 'cc:2**0': 0.24; "i've": 0.25; '15,': 0.26; 'changes,': 0.26; 'header:In- Reply-To:1': 0.27; 'fixed': 0.29; 'chris': 0.29; 'feature': 0.29; 'message-id:@mail.gmail.com': 0.30; '3.x': 0.31; 'though.': 0.31; 'comment': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'introducing': 0.36; "didn't": 0.36; 'pm,': 0.38; 'anything': 0.39; 'does': 0.39; 'support,': 0.39; 'how': 0.40; 'read': 0.60; 'tell': 0.60; 'between': 0.67; 'jul': 0.74; 'distinguish': 0.84; 'hanging': 0.84; 'to:addr:yahoo.co.uk': 0.84; 'mean.': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=dycmHidlK6h+xzzmYADIZ41RhFZ4lvzeZXENGxgOV7M=; b=qN7bzF2oqrgj/iZhrUeJneUe/kpJX6eLs5EYVxu2SQsy+bbVbMoOA/so0npKelAuat kt+Zlf8dC2bfQklqxFkUu4s49iwJ7R07JREg+GTjs77AfYacMq6IOqlMQLuCr3h3e5xK dNHIot3ffatXhj2TRChlG4j8v5p5biXjKsHhpguQPgWXqXX9H2pICHAJq7vt+taR6nfT 2bygA1Z8pZ1Wh1bl7CMwlTAh+W0kozOb1/opdElvR5oSLhNuUkjhEsZklYY8DUdI3y1c cIFCUeemJXpPxVHlpTOowUqxNuP+rwWVbdwSVWf+S5cm62+PMQ5Ue7iGzNUl1fH5HTNv QPPg== X-Received: by 10.221.55.70 with SMTP id vx6mr15372293vcb.23.1405457282987; Tue, 15 Jul 2014 13:48:02 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <57ajo9poljjre4c4ig0n0ss8kph8k78lp0@4ax.com> <5389cb53$0$29978$c3e8da3$5496439d@news.astraweb.com> <99b7b2a2-7521-42d7-a5a0-1a35d4d5b922@googlegroups.com> <53C4A454.9010600@gmail.com> <87zjga4j4v.fsf@elektro.pacujo.net> From: Devin Jeanpierre Date: Tue, 15 Jul 2014 13:47:22 -0700 Subject: Re: Python 3 is killing Python To: Mark Lawrence Content-Type: text/plain; charset=UTF-8 Cc: "comp.lang.python" 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: 28 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1405457292 news.xs4all.nl 2869 [2001:888:2000:d::a6]:39936 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:74508 On Tue, Jul 15, 2014 at 1:24 PM, Mark Lawrence wrote: > On 15/07/2014 18:38, Marko Rauhamaa wrote: >> >> Chris Angelico : >> >>> Fine. Tell me how you would go about adding true Unicode support to >>> Python 2.7, while still having it able to import an unchanged program. >>> Trick question - it's fundamentally impossible, because an unchanged >>> program will not distinguish between bytes and text, but true Unicode >>> support requires that they be distinguished. >> >> >> Python 2 has always had unicode strings and [byte] strings. They were >> always clearly distinguished. You really didn't have to change anything >> for "true Unicode support". >> > > That is the funniest tongue in cheek comment I've read in the 10+ years > I''ve been hanging around here. It was tongue in cheek, wasn't it? What isn't "true" about Python 2.x's unicode support? The only feature I ever missed was case folding. (Not that 3.x does much better at that... :) The stdlib had poor unicode support, if that's what you mean. That could've been fixed without introducing backwards-incompatible changes, though. -- Devin