> # 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.
> ChrisAWhat's wrong with my := proposal? _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/MTM4UELULM6NWOCA7X6WLZR5MDDKG2MJ/ Code of Conduct: http://python.org/psf/codeofconduct/
