Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!newsreader4.netcologne.de!news.netcologne.de!bcyclone02.am1.xlned.com!bcyclone02.am1.xlned.com!newsfeed.xs4all.nl!newsfeed2a.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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'subject:Python': 0.06; 'encoded': 0.07; 'source.': 0.07; 'utf-8': 0.07; 'defines': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'lisp': 0.16; 'wrote:': 0.18; 'code,': 0.22; 'cc:addr:python.org': 0.22; 'byte': 0.24; 'bytes': 0.24; 'text,': 0.24; 'text.': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; 'source': 0.25; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "d'aprano": 0.31; 'steven': 0.31; 'subject: (': 0.35; "can't": 0.35; 'received:google.com': 0.35; 'there': 0.35; 'subject:New': 0.37; 'two': 0.37; 'represent': 0.38; 'files': 0.38; 'pm,': 0.38; '20,': 0.68; 'programs,': 0.74; '2015': 0.84; 'canonical': 0.91; 'to:none': 0.92 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=+Qz9pcVjf61ulLrm4+nddsTCv8Cr4D/ubmqko4NS1Kk=; b=Rj/qIgdIUvdokrDMnq7NcZ3bQNd1GFniO1zI+Uos4MQGsYG+vy6QQMkiPqm6fuvn1D X/O6b9sfeaX/oVC15YvJcBTtCayNNWmQvnpOedIGI3mTymuhkkvpDM4L/OScMI+HGCwD v5i70HlvUCrG8IQsgfjIE4cGu06dTwWkE3RLa7XMpa5YdgV52rcWZc+XZHc7xkjPD6dc fFAjQH8648/S5JlGVrXVmCzWk7nw5e8CyOLceZB0b0bXV5n4Sp97xTbw3aQ+LdIWvFeH Nt2cJp7D1GR5lZlKyRCBisZ80HDPb30aivzn7Px/BiiJvquYNNneDgkw/3aZkiywUz4e oJzQ== MIME-Version: 1.0 X-Received: by 10.50.43.197 with SMTP id y5mr18039115igl.14.1429499130417; Sun, 19 Apr 2015 20:05:30 -0700 (PDT) In-Reply-To: <55346a6a$0$12981$c3e8da3$5496439d@news.astraweb.com> References: <9fc57fc9-0399-4ff3-882a-d041f02827d8@googlegroups.com> <6580b5d5-92f5-4bfa-b1d0-889c69fe82bb@googlegroups.com> <87k2x9yl7w.fsf@elektro.pacujo.net> <87383vx34w.fsf@elektro.pacujo.net> <55346a6a$0$12981$c3e8da3$5496439d@news.astraweb.com> Date: Mon, 20 Apr 2015 13:05:30 +1000 Subject: Re: New to Python - block grouping (spaces) 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.20 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1429499133 news.xs4all.nl 2847 [2001:888:2000:d::a6]:60481 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 4260 X-Received-Body-CRC: 1953867403 Xref: csiph.com comp.lang.python:89193 On Mon, Apr 20, 2015 at 12:54 PM, Steven D'Aprano wrote: > On Mon, 20 Apr 2015 06:41 am, Marko Rauhamaa wrote: > >> Lisp has a noncanonical textual representation just like Python. > > Python has a noncanonical textual representation? > > What is a noncanonical textual representation, and where can I see some? I think what Marko means is that there is a textual way to represent Python source code, and there are multiple files that represent identical Python programs, hence "noncanonical". If you have two UTF-8 encoded files that contain the same text, they will have the exact same bytes in them, because UTF-8 defines a canonical byte representation for text. You can't say that about Python source. ChrisA