[Numpy-discussion] Proposing Ubiquity

Robert Kern robert.kern@gmail....
Tue Nov 13 11:52:02 CST 2007

dieter h. wrote:
> Hi all,
> Would it make sense for all functionality in Numpy/Scipy to have
> ubiquitous returns? In that I'm proposing that every func/method
> (where appropriate) have a flag in its arg list establishing a return
> for either [INDEX, BOOLEAN, VALUE=default]. this could be by a
> singular Enum flag, I believe. Obvioulsy, this proposal gives the
> option for a return of Index/Bool to be used for Indexing arrays, or
> the actual values. Since I mosty index existing arrays, this would be
> a huge plus for me.

I'm afraid that I don't understand this proposal. Can you show some examples of
what you would like to see? Preferably, can you write some working code that
demonstrates this feature?

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 Numpy-discussion mailing list