+1
Been waiting a decade+ for this. Too bad it didn't get into 3.8.
Nice work on the PEP.
-Mike
p.s. A another mentioned this existing syntax does allow non-string keys:
>>> d1 = dict(one=1, two=2)
>>> d2 = {'three':3, 4:4}
>>>
>>> {**d1, **d2}
{'one': 1, 'two': 2, 'three': 3, 4: 4}
On 2019-10-16 22:35, Brandt Bucher wrote:
_______________________________________________
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/NLIPDQTRI6SURJS275K457XWVYXHFEKK/
Code of Conduct: http://python.org/psf/codeofconduct/