[issue11297] Make ChainMap() public in the collections module.

Antoine Pitrou report at bugs.python.org
Wed Feb 23 11:35:09 CET 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

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().

----------
nosy: +pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11297>
_______________________________________


More information about the Python-bugs-list mailing list