Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed1.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.077 X-Spam-Evidence: '*H*': 0.85; '*S*': 0.00; 'subject:Python': 0.06; 'string': 0.09; 'subject:language': 0.09; 'cc:addr:python-list': 0.11; 'collections': 0.16; 'digits.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'happily': 0.16; 'letters.': 0.16; 'recognizing': 0.16; 'sadly': 0.16; 'subject: \n ': 0.16; 'subject:?)': 0.16; 'subject:unicode': 0.16; 'essential': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'example': 0.22; 'saying': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; '(for': 0.26; 'header:In-Reply-To:1': 0.27; 'words': 0.29; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; '(since': 0.31; 'another': 0.32; 'quite': 0.32; 'common': 0.35; 'case,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'seconds': 0.37; 'two': 0.37; 'easily': 0.37; 'pm,': 0.38; 'even': 0.60; 'number,': 0.60; 'simple,': 0.60; 'break': 0.61; 'numbers': 0.61; 'happen': 0.63; 'more': 0.64; 'cards': 0.65; 'phone': 0.66; 'it!': 0.67; 'mar': 0.68; 'brain': 0.68; 'subject:this': 0.83; 'examples.': 0.84; 'extent.': 0.84; 'me).': 0.84; 'treating': 0.84; 'to:none': 0.92; 'differences': 0.93; 'lot,': 0.93 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=Uycm+GpPcvESE0I+rAwQTpFf/kBC3QUXB8GTo/sT4hw=; b=Ofz2SrKCq3AHaXsm/XnHhN0w8jAQoswyiIo6ObZ50z3Y3EJF/s879kaueEXHweDUc8 Z7AjsMx7yv95tklLHSafIJ/3lE2zrzhe4yblqtLy7ddZ+T4IiDeY318OL8dohKwVoHkN gHVyPZsoAM9EWLglKUntAZRED/nOy64PnEujCmMgl9ykG18iC7yOjfdFpFHbkY5n1SC4 xNXQtqufLFCDgrkpY7lw8KDMH+SnsTBnjW2UbpZPqVfBf1J3RSud54qAL6yo9UCkikUp BAAFga5Ow2rMa20ODbc9Tx5h+C7UqVwp62fml2Qv6NqtU3uPe4A0m9IYxVphp6Lb+Elt 0GbA== MIME-Version: 1.0 X-Received: by 10.66.129.133 with SMTP id nw5mr8172885pab.98.1395883582061; Wed, 26 Mar 2014 18:26:22 -0700 (PDT) In-Reply-To: References: <9daf0806-02de-4447-964c-c8f8953c23e5@googlegroups.com> <10101874-2995-4acd-9851-989603f052e3@googlegroups.com> <532d5bd9$0$29994$c3e8da3$5496439d@news.astraweb.com> <0b78649a-16b3-4410-8258-e859578d62be@googlegroups.com> <53311887$0$2756$c3e8da3$76491128@news.astraweb.com> Date: Thu, 27 Mar 2014 12:26:21 +1100 Subject: Re: Time we switched to unicode? (was Explanation of this Python language feature?) 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: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395883591 news.xs4all.nl 2842 [2001:888:2000:d::a6]:52443 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69161 On Thu, Mar 27, 2014 at 12:16 PM, Rhodri James wrote: > It's not quite that simple, sadly (for me). I have mild dyscalculia, which > in my case is another way of saying that collections of digits *aren't* > tokens to me unless I ascribe a specific meaning to them. I don't work with > day-level time differences a lot, so 86400 is just a string of digits to me. > Powers of two and one less than powers of two I use a lot, so 65535 for > example is a token. The more digits there are in the number, the harder it > is for me to take in in a way that doesn't happen with letters. Even > "forty" is better than "40" if you want me to recall it! Interesting. This suggests that your brain works happily with words (since you can recall "forty" more easily), but not with digits. But even in the normal case, that will be true to some extent. It's common to break up long numbers into groups of three or four digits - look at credit cards and phone numbers, for two very common examples. Treating 86400 as a single token comes more easily when you know it's the number of seconds in a day, and recognizing 604800 as the number of seconds in a week is pretty much essential to seeing it as a single token. ChrisA