Re: Ideas for Python 4

2014-04-01 Thread Chris Angelico
On Wed, Apr 2, 2014 at 1:15 PM, wrote: > In Florida, it's still April Fools. > In Florida, it's *always* April Fools. ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Re: Ideas for Python 4

2014-04-01 Thread rymg19
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 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. >

Re: Ideas for Python 4

2014-04-01 Thread Chris Angelico
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

Ideas for Python 4

2014-04-01 Thread Ryan Gonzalez
I have a bunch of ideas I'd like to share for Python 4: Use -- for comments instead of #. Switch to <> for "not equal" instead of !=. Remove indentation requirement: -- Python 2&3 if x != y: return 7 -- Python 4 if x <> y: return 7 ;; Add multiline lambdas: my_multiline_lambda = ll {