On 29/08/20 12:06 am, David Mertz wrote:
I only thought of it because `mydict[foo=bar]` now raises a SyntaxError, so raising something different would technically be a change in behavior.
It's going to be a change in behaviour whatever you raise, because it's currently a compile time error. -- Greg _______________________________________________ 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/DHGO3TT7N3PO2CXIMONTKT7AYGVPUQWU/ Code of Conduct: http://python.org/psf/codeofconduct/