numpy magic: cast scalar returns auto to python types float & int ?

Robert Kern robert.kern at
Fri Nov 17 19:40:56 CET 2006

robert wrote:

> Didn't find the relevant reasoning within time. Yet guess the reason is isolated-module-centric. 

I gave you a brief rundown on this list already.

And I'll note again that a fuller discussion is given in Chapter 2 of the _Guide
to NumPy_.

And yet again, the best place for numpy questions is the numpy mailing list, not
here. Here, you will get maybe one or two people responding to you, usually me,
and I'm a cranky SOB. There you will get much nicer people answering your
questions and more fully.

Robert Kern

"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 Python-list mailing list