[Numpy-discussion] should get rid of the annoying numpy STDERR output
Thu Mar 24 11:11:28 CDT 2011
2011/3/24 Dmitrey <email@example.com>:
>>>> from numpy import inf, array
>>>> array(inf) * 0.0
> StdErr: Warning: invalid value encountered in multiply
> My cycled calculations yields this thousands times slowing computations and
> making text output completely non-readable.
>>>> from numpy import __version__
We really should change the default to 'warn' for numpy 2.0. Maybe
even for numpy 1.6. We've talked about it before, and I think most
people were in favor. We just never pulled the trigger.
Devs, what say you?
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the NumPy-Discussion