On Sat, Apr 18, 2020, 8:15 AM Alex Hall <alex.moj...@gmail.com> wrote:

> Under your proposal, these two programs are both valid syntax with
> different meanings:
>
> (1)
>
f(**{u, v})
>
> (2)
>
x = {u, v}
> f(**x)
>

I don't understand what the meaning of (2) would be. Currently it is a
TypeError... Is that "valid" because it's not a syntax error?!
_______________________________________________
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/VM7G7X52HUBAZ46ZN6IN5742OKAQXB43/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to