On Mon, May 21, 2018, 03:58 Rhodri James <rhodri@kynesim.co.uk> wrote:
On 20/05/18 06:19, Matt Arcidy wrote:
> On Sat, May 19, 2018, 11:07 Kirill Balunov <kirillbalunov@gmail.com> wrote:
>
>>
>>
>> I think I have a very strong argument "why are not others valid" - Because
>> already three months have passed and among 1300+ messages there was not a
>> single real example where assignment expression would be convenient or
>> useful outside `while` and `if` statements. If you have a counterargument
>> (with an example), I would be glad to see.
>>
>
> comprehensions.  I don't think you read any of the messages.  about 1000
> were solely about comprehensions.

I'm afraid I haven't seen a convincing example of an useful assignment
expression in a comprehension that wasn't also a convincing example of
things that shouldn't have been comprehensions in the first place.

I haven't seen a convincing counter argument that doesn't axiomatically depend on personal opinion.  Can you define your "shouldn't" in a way that isn't just your personal taste?  I can't know from your statement here.


--
Rhodri James *-* Kynesim Ltd
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/