[Numpy-discussion] silly user wish

Paul Anton Letnes paul.anton.letnes at gmail.com
Thu Jun 9 20:25:45 EDT 2011


Dear numpy developers, users, and fans:

I wish for a numpy that will magically detect all my errors. Barring the invention of a numpy version which knows what I need, not what I ask of it, I have the following, simpler wish: if one takes myarray.real or myarray.imag of a float (or possibly integer), give a warning saying "well that didn't make much sense, did it?".

(Maybe there is some good reason why this is a bad idea, but the idea has been presented to you, nonetheless.)

Best regards
Paul.




More information about the NumPy-Discussion mailing list