Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3.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.024 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'resulting': 0.04; 'that?': 0.05; 'subject:Python': 0.06; 'pep': 0.09; 'yeah,': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'switch': 0.26; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'easier': 0.31; 'bunch': 0.31; 'multiline': 0.31; 'quite': 0.32; 'everyone': 0.33; "i'd": 0.34; 'received:google.com': 0.35; 'add': 0.35; 'ryan': 0.36; 'method': 0.36; 'pm,': 0.38; 'recent': 0.39; 'even': 0.60; 'ago.': 0.61; "you're": 0.61; 'beat': 0.68; 'day': 0.76; '"not': 0.84; 'late,': 0.84; 'serious.': 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=9LH3wx/nqRs10nz6hiISWFAJFvIxKd44XZiFX1+qUb8=; b=UIJ7TdFwQtK9yt88Rwt2aZg8uCGOdMdiglew6Q26/xW3Bwhl9WsAaLimU8rJwZwFC+ wtO/fuSrD3/XpfVGvn9DZmfRj+vaRJ/CGP96+aklTOFnZZucc3gzIjBma2mSk91PS7dJ ivnO6bqyFrkUz71a3JMHiEu9zE5LDMOmGUMy/kvEU5mfw3/Yg1XjEy56yu9o0zQtW/Gh qs/avrMpIRk5npSBHP7jSyQqBKH4GsVa2eUtBqNdgQgSdlOJwhW9FUUTl7yEJlLzuq9x wFU4HyWMJZbVfMq34vVu2bb7H9elWJjC9KohPwAxEl2wHm01rM6k/hsVfE8DaoglWUaP mHtA== MIME-Version: 1.0 X-Received: by 10.69.25.69 with SMTP id io5mr35374280pbd.22.1396403930937; Tue, 01 Apr 2014 18:58:50 -0700 (PDT) In-Reply-To: References: Date: Wed, 2 Apr 2014 12:58:50 +1100 Subject: Re: Ideas for Python 4 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: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1396403940 news.xs4all.nl 2889 [2001:888:2000:d::a6]:37211 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69530 On Wed, Apr 2, 2014 at 12:54 PM, Ryan Gonzalez wrote: > I have a bunch of ideas I'd like to share for Python 4: > > Switch to <> for "not equal" instead of !=. PEP 0401 beat you to it five years ago. > Add multiline lambdas: > > my_multiline_lambda = ll { return 7; } Yeah, you an' everyone else. > Add method chaining using even easier syntax: > > a = SomeObject() > b = a->>>m2->>>m3->>>m4!!;; > > -- Call m2, then m3, then m4, then return the resulting object Huh, did you see my recent proposal on that? I was quite serious. > -- BTW, April Fools! This is ugly... You're about a day late, sorry :) ChrisA