Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed2.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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'broken': 0.04; 'subject:Python': 0.06; 'advocate': 0.07; '-0500': 0.09; 'armin': 0.09; 'bytes,': 0.09; 'formatting': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'supported,': 0.09; 'python': 0.11; 'jan': 0.12; 'missed': 0.12; '"in': 0.16; '"python': 0.16; 'devs': 0.16; 'from:addr:pitrou.net': 0.16; 'from:addr:solipsis': 0.16; 'from:name:antoine pitrou': 0.16; 'rant,': 0.16; 'received:213.41.240': 0.16; 'received:213.41.240.54': 0.16; 'received:80.91.229.3': 0.16; 'received:charlus.yi.org': 0.16; 'received:plane.gmane.org': 0.16; 'received:yi.org': 0.16; 'situation.': 0.16; 'subject:More': 0.16; 'subject:Unicode': 0.16; 'url:pocoo': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'work,': 0.20; 'coding': 0.22; 'days,': 0.24; "haven't": 0.24; "i've": 0.25; '(see': 0.26; 'post': 0.26; 'header:X -Complaints-To:1': 0.27; 'rest': 0.29; 'url:bugs': 0.29; 'am,': 0.29; "doesn't": 0.30; 'shoot': 0.31; 'subject:About': 0.31; 'though.': 0.31; 'anyone': 0.31; 'url:python': 0.33; 'cases': 0.33; 'core': 0.34; 'but': 0.35; 'there': 0.35; 'messenger': 0.36; 'charset:us-ascii': 0.36; 'url:org': 0.36; 'should': 0.36; 'clear': 0.37; 'sometimes': 0.38; 'e.g.': 0.38; 'to:addr:python- list': 0.38; 'explain': 0.39; 'heard': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'received:org': 0.40; 'how': 0.40; 'easy': 0.60; 'subject:"': 0.60; 'most': 0.60; 'url:5': 0.61; 'kind': 0.63; 'real': 0.63; 'more': 0.64; 'talking': 0.65; 'attention.': 0.68; 'difficulty': 0.68; '2.8': 0.84; 'antoine.': 0.84; 'batchelder': 0.84; 'deserves': 0.84; 'url:2014': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Antoine Pitrou Subject: Re: "More About Unicode in Python 2 and 3" Date: Sun, 5 Jan 2014 15:37:17 +0100 References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: charlus.yi.org X-Newsreader: Claws Mail 3.8.1 (GTK+ 2.24.20; x86_64-pc-linux-gnu) 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: 35 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1388932649 news.xs4all.nl 2831 [2001:888:2000:d::a6]:34623 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:63195 On Sun, 05 Jan 2014 08:22:38 -0500 Ned Batchelder wrote: > On 1/5/14 8:14 AM, Mark Lawrence wrote: > > http://lucumr.pocoo.org/2014/1/5/unicode-in-2-and-3/ > > > > Please don't shoot the messenger :) > > > > With all of the talk about py 2 vs. py3 these days, this is the blog > post that I think deserves the most real attention. I haven't had to do > the kind of coding that Armin is talking about, but I've heard more than > one person talk about the difficulty of it in Python 3. > > If anyone wants Python 3 uptake improved, the best thing would be to > either explain to Armin how he missed the easy way to do what he wants > (seems unlikely), or advocate to the core devs why they should change > things to improve this situation. Sometimes the best way to "advocate to the core devs" is to do part of the work, though. There are several people arguing for %-formatting or .format() on bytes, but that still lacks a clear description of which formatting codes would be supported, with which semantics. (see e.g. http://bugs.python.org/issue3982) As for the rest of Armin's rant, well, it's a rant. "In some cases Python 3 is a bit less practical than Python 2" doesn't equate to "Python 3 is broken and 2.8 should be released instead". Regards Antoine.