Re: [Python-Dev] Language proposal: variable assignment in functional context

2017-06-17 Thread Robert Vanden Eynde
Thanks! Le 17 juin 2017 06:19, "Shloub" > a écrit : 2017-06-16 13:32 UTC+02:00, Robert Vanden Eynde >: > Hello, I would like to propose an idea for the language but I don't know > where

Re: [Python-Dev] Language proposal: variable assignment in functional context

2017-06-16 Thread Robert Vanden Eynde
Thanks! Le 17 juin 2017 06:19, "Shloub" > a écrit : 2017-06-16 13:32 UTC+02:00, Robert Vanden Eynde >: > Hello, I would like to propose an idea for the language but I don't know > where

Re: [Python-Dev] Language proposal: variable assignment in functional context

2017-06-16 Thread Steven D'Aprano
Welcome Robert. My response below. Follow-ups to Python-Ideas, thanks. You'll need to subscribe to see any further discussion. On Fri, Jun 16, 2017 at 11:32:19AM +, Robert Vanden Eynde wrote: > In a nutshell, I would like to be able to write: > y = (b+2 for b = a + 1) I think this is

Re: [Python-Dev] Language proposal: variable assignment in functional context

2017-06-16 Thread Erik
On 16/06/17 12:32, Robert Vanden Eynde wrote: Hello, I would like to propose an idea for the language but I don't know where I can talk about it. Robert, I have replied to this on the "python-ideas" ML. Regards, E. ___ Python-Dev mailing list

Re: [Python-Dev] Language proposal: variable assignment in functional context

2017-06-16 Thread Shloub
2017-06-16 13:32 UTC+02:00, Robert Vanden Eynde : > Hello, I would like to propose an idea for the language but I don't know > where I can talk about it. Hi, May I suggest Python-ideas? https://mail.python.org/mailman/listinfo/python-ideas Thanks.

[Python-Dev] Language proposal: variable assignment in functional context

2017-06-16 Thread Robert Vanden Eynde
Hello, I would like to propose an idea for the language but I don't know where I can talk about it. In a nutshell, I would like to be able to write: y = (b+2 for b = a + 1) Or in list comprehension: Y = [b+2 for a in L for b = a+1] Which can already be done like this: Y = [b+2 for a in L for b