Open saurabh-hirani opened 8 years ago
@schettino72 is this a bug or by design?
It is by design. Like python module copy
does not do deep-copy by default.
But of course a "deep-merge" could be implemented, added...
I wrote mergedict expecting people to create their own Merge definitions. ConfigDict
was more like an example. Anyway if someone already implemented a "deep merge", I guess not harm in also including it the package.
gives the output
Outer array in merged. But the inner one (pointed by 'd') is overwritten - is this the expected behavior?