Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #69530 > unrolled thread

Re: Ideas for Python 4

Started byChris Angelico <rosuav@gmail.com>
First post2014-04-02 12:58 +1100
Last post2014-04-02 13:25 +1100
Articles 3 — 2 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Ideas for Python 4 Chris Angelico <rosuav@gmail.com> - 2014-04-02 12:58 +1100
    Re: Ideas for Python 4 rymg19@gmail.com - 2014-04-01 19:15 -0700
      Re: Ideas for Python 4 Chris Angelico <rosuav@gmail.com> - 2014-04-02 13:25 +1100

#69530 — Re: Ideas for Python 4

FromChris Angelico <rosuav@gmail.com>
Date2014-04-02 12:58 +1100
SubjectRe: Ideas for Python 4
Message-ID<mailman.8811.1396403940.18130.python-list@python.org>
On Wed, Apr 2, 2014 at 12:54 PM, Ryan Gonzalez <rymg19@gmail.com> 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

[toc] | [next] | [standalone]


#69531

Fromrymg19@gmail.com
Date2014-04-01 19:15 -0700
Message-ID<a36817f1-9ffa-4600-9c4a-cf27d87a169e@googlegroups.com>
In reply to#69530
On Tuesday, April 1, 2014 8:58:50 PM UTC-5, Chris Angelico wrote:
> On Wed, Apr 2, 2014 at 12:54 PM, Ryan Gonzalez <rymg19@gmail.com> 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.
> 

That's what inspired this.

> 
> > 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.
> 

I did. You were in my mind when I was writing this. ;)

> 
> > -- BTW, April Fools! This is ugly...
> 
> 
> 
> You're about a day late, sorry :)
> 

In Florida, it's still April Fools.

> 
> ChrisA

[toc] | [prev] | [next] | [standalone]


#69533

FromChris Angelico <rosuav@gmail.com>
Date2014-04-02 13:25 +1100
Message-ID<mailman.8813.1396405540.18130.python-list@python.org>
In reply to#69531
On Wed, Apr 2, 2014 at 1:15 PM,  <rymg19@gmail.com> wrote:
> In Florida, it's still April Fools.
>

In Florida, it's *always* April Fools.

ChrisA

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web