On Tue, Apr 24, 2018 at 10:54 AM, Anthony Flury via Python-Dev <python-dev@python.org> wrote: [..] > As discussed previously by others on this exact proposals, you now have the > issue of confusion when using keyword arguments : *my_func(a = b)* : > clearly that is a call to `my_func' where argument a has the value of b, but > if you want to do an assigment expression when calling the function you now > have to do *my_func((a=b)) -* which frankly looks messy in my opinion; you > get the same issue when you are wanting to do assignment expressions in > tuples.
Well, `my_func(a=(b:=foo))` or `my_func(b:=foo)` are also barely readable to my eye. My expectation is that users won't use any form of assignment expressions in function calls, it's painful with both proposals. Yury _______________________________________________ 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