Message 129162 - Python tracker (original) (raw)
This is nice, but IMO there is some information lacking, e.g.:
- when an underlying mapping is mutated, does the ChainMap get updated too?
- does it work with arbitrary mappings or only with dicts or dicts subclasses?
I think new_child() isn't very useful. It seems two specialized for a one-liner. Ditto for parents().