On 27/09/20 7:10 pm, Steven D'Aprano wrote:
kw = get_keywords() # oops, this returns an empty dict obj[**kw] = value
If an explicit d[] is going to be a compile-time error, maybe anything that has the same effect at run time should be an error too? -- 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/EMX7GLTFZFI6QNTCM32KHYKLIXA7TR3P/ Code of Conduct: http://python.org/psf/codeofconduct/