13 Feb
2015
13 Feb
'15
12:26 a.m.
On Thu, Feb 12, 2015 at 11:21 AM, Thomas Kluyver
Or perhaps even a classmethod:
dict.merged(a, b, c)
A dict factory classmethod like this is the best proposal I've seen thus far. * It would be nice if the spelling were more succinct (that's where syntax is helpful). Imagine: some_func(**dict.merged(a, b, c)) -eric * I'd go for the PEP 448 multiple kwargs-unpacking clauses, but as already noted, the keys are limited to valid identifiers. Hmm, perhaps that could be changed just for dict()...