Oct. 17, 2019
9:59 p.m.
+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: