[Numpy-discussion] Is this a bug in repr ?
robert.kern at gmail.com
Tue Mar 15 13:55:13 EDT 2011
On Tue, Mar 15, 2011 at 12:39, Charles R Harris
<charlesr.harris at gmail.com> wrote:
> Yes, I think it is a bug. IIRC, it also shows up for object arrays.
It's extremely long-standing, documented, intentional behavior dating
back to Numeric.
|1> import Numeric
|2> a = Numeric.array( [ 16.50698631688883822 ] )
|3> print repr(a)
You can disagree with the feature, but it's not a bug.
"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