<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">Why not replace get_printoptions/set_printoptions with a context manager accessed using numpy.printoptions in the same way that numpy.errstate exposes a context manager to seterr/geterr?  This would make the set method redundant.</span><div>

<font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Also, the context manager returned by numpy.errstate, numpy.printoptions, etc. could expose the dictionary directly.  This would make the get methods redundant.<br>

</font><div><div><div><div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px"><br></div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px">Best,</div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px">

<br></div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px">Neil</div></div></div></div></div></div></div>