On Fri, Apr 20, 2018 at 10:51 PM, Paul Moore <p.f.mo...@gmail.com> wrote:
> 2. I hadn't really thought of the PEP in those terms. Now that you've
> mentioned it, "Python has never before had syntax that assigns names
> from within an expression" is quite a significant change, and one the
> PEP needs to examine the implications of. It's mostly been covered in
> the discussions by now, of course.

Depending on your definition of "assignment", a lambda function could
count as a means of assigning a variable in a subexpression. But yes,
there is no convenient way to assign to something in a wider scope.

ChrisA
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to