[Python-Dev] PEP 572: Do we really need a ":" in ":="?

David Mertz mertz at gnosis.cx
Thu Jul 5 23:45:07 EDT 2018


On Thu, Jul 5, 2018, 7:46 PM Alexander Belopolsky <
alexander.belopolsky at gmail.com> wrote:

>  It also appears that there are no cases where = can be substituted for :=
> and not cause a syntax error.  This means that ":" in ":=" is strictly
> redundant.
>

Under your proposal, this is ambiguous: 'myfun(foo=5, bar=7)'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20180705/c8703af1/attachment.html>


More information about the Python-Dev mailing list