On 5/20/2020 8:23 AM, James Lu wrote:
# Looks like an old Py2 repr
def spam(x, y, ham={}):
# Way too magical, although it parses currently and might
# be done with the help of a magic built-in
def spam(x, y, ham=LATE%{}):
# wut?
def spam(x, y, ham=>{}):
# even worse
def spam(x, y, ham=->{}):
etc etc etc. There are lots of bad syntaxes and very few that have any merit.
I'd love to have this as a feature, though.
ChrisA
What's wrong with my := proposal?

Confusion with unrelated uses of the walrus operator.

Eric
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/VFPQUVTGTPC4U2Y4HYQTH7NFWB2DTI57/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to