Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!tudelft.nl!txtfeed1.tudelft.nl!multikabel.net!newsfeed10.multikabel.net!xlned.com!feeder7.xlned.com!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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'instance,': 0.05; 'suppose': 0.05; 'subject:Python': 0.05; 'pretend': 0.07; 'python': 0.08; 'back-end': 0.09; 'sure,': 0.09; 'utf-8': 0.09; 'ascii,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:usage': 0.16; 'language': 0.16; 'wrote:': 0.18; 'programming': 0.20; 'received:209.85.210.174': 0.21; 'received:mail-iy0-f174.google.com': 0.21; 'header:In-Reply- To:1': 0.22; 'assume': 0.22; 'feb': 0.22; '(on': 0.23; 'subject:numbers': 0.23; 'somewhere': 0.26; 'work.': 0.27; 'work,': 0.28; 'message-id:@mail.gmail.com': 0.29; 'unicode': 0.29; 'pm,': 0.29; 'sun,': 0.30; 'least': 0.30; 'thread': 0.32; "isn't": 0.33; 'causing': 0.34; 'eric': 0.34; 'to:addr:python- list': 0.35; 'however,': 0.35; 'issue': 0.37; 'but': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'could': 0.38; 'easier': 0.38; 'received:209': 0.39; 'to:addr:python.org': 0.40; 'more': 0.61; 'simple': 0.61; 'your': 0.61; 'browser': 0.62; 'customer': 0.65; 'database.': 0.74; '12:21': 0.84; 'snow': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=leUUI9IPWDegiZqDz6k7h3uF9ZgQJx7zH+S5DtZy6ZI=; b=L1ArNaOP6MxNm/gbI165Xc5A9s2e5ixgYxEAxKIHLn29wP8bC8Khmwe7IK/EU3Ko6+ 7Z5uPVNU9n0RnfSoq0up61W5hjAtrf1KJOq630G+9Grbn+E1kOikV7rz2ixU3JF+MFBF 9DBOoDW8agATj/93ETHPZnc+DnSpF/jHaJYCQ= MIME-Version: 1.0 In-Reply-To: References: <4F36E2F5.9000505@gmail.com> Date: Sun, 12 Feb 2012 12:28:30 +1100 Subject: Re: Python usage numbers 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: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1329010113 news.xs4all.nl 6896 [2001:888:2000:d::a6]:52761 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:20242 On Sun, Feb 12, 2012 at 12:21 PM, Eric Snow wrote: > However, in at > least one current thread (on python-ideas) and at a variety of times > in the past, _some_ people have found Unicode in Python 3 to make more > work. If Unicode in Python is causing you more work, isn't it most likely that the issue would have come up anyway? For instance, suppose you have a web form and you accept customer names, which you then store in a database. You could assume that the browser submits it in UTF-8 and that your database back-end can accept UTF-8, and then pretend that it's all ASCII, but if you then want to upper-case the name for a heading, somewhere you're going to needto deal with Unicode; and when your programming language has facilities like str.upper(), that's going to make it easier, not later. Sure, the simple case is easier if you pretend it's all ASCII, but it's still better to have language facilities. ChrisA