On Sat, Mar 24, 2018 at 3:58 AM, Guido van Rossum <gu...@python.org> wrote:
> I also think it's fair to at least reconsider adding inline assignment, with
> the "traditional" semantics (possibly with mandatory parentheses). This
> would be easier to learn and understand for people who are familiar with it
> from other languages (C++, Java, JavaScript).
>
> On Fri, Mar 23, 2018 at 9:34 AM, Christoph Groth <christ...@grothesque.org>
> wrote:
>> But wouldn't it be a good alternative to PEP 572 to *add* an assignment
>> operator that is an expression to Python, and is distinct from "=", for
>> example ":="?

Thank you; both of these have now been incorporated into the document.

ChrisA
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to