[Numpy-discussion] Numpy set_printoptions, silent failure, bug?

Robert Kern robert.kern at gmail.com
Tue Jul 19 17:43:56 EDT 2016


On Tue, Jul 19, 2016 at 10:41 PM, John Ladasky <jladasky at itu.edu> wrote:

> Should this be considered a Numpy bug, or is there some reason that
set_printoptions would legitimately need to accept a dictionary as a single
argument?

There is no such reason. One could certainly add more validation to the
arguments to np.set_printoptions().

--
Robert Kern
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20160719/ce2ff297/attachment.html>


More information about the NumPy-Discussion mailing list