Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: [beginner] What's wrong? Date: Mon, 4 Apr 2016 02:44:16 +1000 Lines: 19 Message-ID: References: <99234e90-fcd4-4a05-b97f-b47228dde20c@googlegroups.com> <1459571270.714249.566352882.6ADCD0CC@webmail.messagingengine.com> <87bn5sqcac.fsf@elektro.pacujo.net> <56ffedf1$0$1611$c3e8da3$5496439d@news.astraweb.com> <87h9fkq7tl.fsf@elektro.pacujo.net> <3524319.g0I1c1cpMS@PointedEars.de> <2796705.edb3E9ArW3@PointedEars.de> <33b043f4-b68e-4346-8e47-029815ab1204@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de NLLpJSILIPD7qaEHFLc7VA4eOc2F+SPNFoQqEVkmM2cw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:: [': 0.03; 'cc:addr:python-list': 0.09; 'rules.': 0.09; 'python': 0.10; 'translate': 0.15; '(well,': 0.16; '2016': 0.16; 'anyway).': 0.16; 'distinction': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'meaningful,': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'somehow,': 0.16; 'subject:beginner': 0.16; 'wrote:': 0.16; 'language': 0.19; 'subject:] ': 0.19; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'am,': 0.23; 'code,': 0.23; 'words': 0.24; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; '(which': 0.26; 'message-id:@mail.gmail.com': 0.27; 'dan': 0.29; "i'm": 0.30; 'too.': 0.30; 'rules': 0.31; 'changed': 0.33; 'useful': 0.33; 'case,': 0.34; 'received:google.com': 0.35; 'something': 0.35; 'but': 0.36; 'received:209.85': 0.36; 'possible': 0.36; 'others.': 0.36; 'subject:?': 0.36; 'received:209.85.213': 0.37; 'received:209': 0.38; 'means': 0.39; 'matter': 0.63; 'is.': 0.63; 'between': 0.65; 'legal': 0.66; 'potentially': 0.67; 'adorn': 0.84; 'chrisa': 0.84; 'coupled': 0.84; 'glad': 0.87; 'to:none': 0.91; 'same,': 0.91 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-transfer-encoding; bh=ogXxEo7eUk0s8slXzpTxSVT1qakKpRjwr6rKB2fi+kw=; b=OpEEREmX8HvjQxwS1CIY6yDBwQEfK7gYPkwtfK3+mrw8mPkMJSWc4Zc4xIwXhn8/wr 7kxAIYaCdchdcLMhLmxS2XDBrLM8xeYjdiKLi4cTxx4/ppV9UEgHEmqNrpDgZMUp5R4s JYmSsI73Fmne1eqZRNEeEuufWAuoZl12l2Lo9cDBwgXBX49J2n4otwXyNZ894x2KZZdx 2Aol+bEfgQ4TdYvBLyT1SrT9VQD+QuzAIS6qgKi1flyo3/LNU8LJbwFR9w83+V6q90C3 gfSq6LGXaJ+ptm+c/An7ZZpDJaCm9GJtlQxGkiNTLEJMko8swS7+NQWatjEDyVhj0H/1 PXgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc:content-transfer-encoding; bh=ogXxEo7eUk0s8slXzpTxSVT1qakKpRjwr6rKB2fi+kw=; b=MVIb9cthL1/x58d1fI3fc50oWfbk5A5b73PcD2HAdd9BgtZ9fl/dyWy+0n9O4D4D/M 5oxeu9LN92o1ti1CMpmxXrxksTb9qFqzWwKS+pONsp4xfjLzzO8wVHMWdlRCOjXuZXVL oLV7Tg5l4A+H2rz3VLRLL2M1V63JFImLlSP29VFP7dOkBNO7c7r4wkpHwIuuvRNnTbAv 0VaM289vhNCG9zASJ1ReOnpWxoeOi5h2OVrLMkQvkMvlMBzvSF3b7ieTavgrv8cJVI5n QN3xSfVbJZPbB4bvOO0mgdCIE9tikZ4JWjPu10bxn5HvsC5OEt+jWLdBBhp5E00Zt9S+ nfyw== X-Gm-Message-State: AD7BkJJZgAzZKdDYFRVqy2YsLRUNzyBRiXyJeVi9VpEMIJf8ogV5p40IvSEfbOz+AWaR+9vi7VVKgBwSu9Qsiw== X-Received: by 10.107.137.101 with SMTP id l98mr5039115iod.31.1459701856833; Sun, 03 Apr 2016 09:44:16 -0700 (PDT) In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:106378 On Mon, Apr 4, 2016 at 2:22 AM, Dan Sommers wrote: > What about the A vs a case, which comes up even with ASCII-only > characters? If those are the same, then I, as a reader of Python code, > have to understand all the rules about =C3=9F (which I think have changed > over time), and potentially =C3=BE and others. And I=C4=B0=C4=B1i, and =CE=A3=CF=83=CF=82, and (if you want completeness) = =C5=BF too. And various other case conversion rules. It's not possible to case-fold perfectly without knowing what language something is. This, coupled with the extremely useful case distinction between "Classes" and "instances", means I'm very much glad Python is case sensitive. "base =3D Base()" is perfectly legal and meaningful, no matter what language you translate those words into (well, as long as it's bicameral - otherwise you need to adorn one of them somehow, but you'd have to anyway). ChrisA