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.

Python-Dev mailing list

Reply via email to