On 12 September 2013 11:14, Neil Girdhar <mistersheik at gmail.com> wrote:
>> Thank you. I will ask there about adding numpy context managers. However,
> the extra member function to ChainMap to use it as a context manager would
> be a question for this mailing list, right?
Perhaps you could spell out that part of the idea in more detail then.
Why in particular would it need to be a ChainMap and not a regular
dict? Does the method return a new ChainMap instance? What would be
seen by other code that holds references to the same ChainMap?
Oscar