[Python-ideas] adding dictionaries
Alexander Heger
python at 2sn.net
Tue Jul 29 00:48:49 CEST 2014
> But really, I'm not seeing a compelling argument for why this needs to be a
> builtin. If someone is merging dicts often enough to care, they can already
> write a function to do the dict copy-and-update as a single operation. What
> makes this more special than the multitude of other three line functions in
> the world?
We all have too many of those.
This would not add too much complexity to the language and overcome
some awkward constructs needed otherwise.
Currently dictionaries are not really as easy to use as your everyday
data type as it should be lacking such operators.
-Alexander
More information about the Python-ideas
mailing list