[Python-ideas] Replace option set/get methods through the standard library with a ChainMap; add a context manager to ChainMap

Oscar Benjamin oscar.j.benjamin at gmail.com
Thu Sep 12 12:12:27 CEST 2013


On 12 September 2013 11:06, Neil Girdhar <mistersheik at gmail.com> wrote:
>
> Exactly.  I just assumed when I wrote my comment that this was a general
> problem in the standard library, but as was pointed out to me, it seems to
> be only a problem with numpy.  My suggestion is for printoptions to be
> implemented as a ChainMap to facilitate things on the numpy end of things as
> well.

Your suggestion doesn't seem unreasonable to me. However you're asking
on the wrong mailing list:
http://www.scipy.org/scipylib/mailing-lists.html


Oscar


More information about the Python-ideas mailing list