Path: csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed4a.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; '21,': 0.07; 'sure,': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'jan': 0.12; 'wrote': 0.14; '2.7': 0.14; '"it\'s': 0.16; '"we': 0.16; '11:09': 0.16; 'complaining': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'implies': 0.16; 'notation': 0.16; 'silly': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'bit': 0.19; '(where': 0.19; "hasn't": 0.19; 'code,': 0.22; 'cc:addr:python.org': 0.22; 'mathematical': 0.24; 'unicode': 0.24; 'fairly': 0.24; 'looks': 0.24; '(or': 0.24; 'cc:2**0': 0.24; 'source': 0.25; '2010,': 0.27; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'feature': 0.29; 'tim': 0.29; 'characters': 0.30; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'chase': 0.31; 'anyone': 0.31; 'text': 0.33; "who's": 0.35; 'but': 0.35; 'received:google.com': 0.35; 'false': 0.36; "didn't": 0.36; 'should': 0.36; 'pm,': 0.38; 'rather': 0.38; 'expect': 0.39; 'even': 0.60; 'first': 0.61; '2015': 0.84; '3.4': 0.84; 'alongside': 0.84; '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=b1Xz9J6krIZOJoWMKBD9M1BfCBEI+XtHNhoc2eX99/U=; b=Wwlb/D5hNe5tk35Dcg9cq2lcQ5U4FWvmI0ByOImQEBEFyepZudzk6pd7CeKU1cXiAO P41SnLqQHjXWfj/nnsAy67YhBY17ZaGvNbB/7LYujccUNSvNzgXs3iRKQ5ZZEdMTqhoL y1HP0UQZ7Ww7lBNshNu050u7a6qYiNiky3HgrbZ8TAfwHgO9t1xe7jFWF4faL9TVZtuV IUsclkDpCmL1mh/ABQK88tdDuEiL8TzngAQWRB32eSkm4gLdUsn3Epwvbg+Vf4eZxOtA kWk3BgmR1BiQJy2gD3EegWwwmoArFjccsEU6ab97yMQwaxmoULzoat78+ngeZ88KSljG djAg== MIME-Version: 1.0 X-Received: by 10.140.20.226 with SMTP id 89mr54725195qgj.43.1421845264436; Wed, 21 Jan 2015 05:01:04 -0800 (PST) In-Reply-To: <20150121065503.5555c910@bigbox.christie.dr> References: <87ppa9944t.fsf@elektro.pacujo.net> <20150121065503.5555c910@bigbox.christie.dr> Date: Thu, 22 Jan 2015 00:01:04 +1100 Subject: Re: Trees 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: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1421845273 news.xs4all.nl 2862 [2001:888:2000:d::a6]:58239 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:84115 On Wed, Jan 21, 2015 at 11:55 PM, Tim Chase wrote: > On 2015-01-21 23:35, Chris Angelico wrote: >> On Wed, Jan 21, 2015 at 11:09 PM, Rustom Mody wrote >> > Its a bit of a nuisance that we have to write set([1,2,3]) for >> > the first >> >> Looks like {1,2,3} works for me. > > That hasn't always worked: Sure, but "we have to write" implies current status; Python 2.7 was released in 2010, so I would expect that anyone who's complaining about set notation should have access to it. Even if it didn't work in 2.7 and you had to use 3.x, the argument's still fairly weak when it's alongside a pipe-dream desire to use specific mathematical Unicode characters in source code, because that's clearly a 3.x-only feature (where source code is Unicode text rather than ASCII). Nobody's going to moan "It's silly that we have to use 1 and 0 instead of nice keywords True and False" on the basis that True and False didn't exist in Python 2.0. At very least, use 2.7 before you complain; preferably, use 3.4 (or 3.5). ChrisA