
A MergeDict is a dict with a merge() method. merge() is like dict.update(), but it can be subclassed to create custom "merge" operations based on the type of an item value.
Themergedict module comes with a ConfigDict that will extend/update lists/sets/dicts.