Hi, Fri, 29 Oct 2010 05:59:07 -0400, Ian Stokes-Rees wrote: >>> But wouldn't the performance hit only come when I use it in this way? >>> __getattr__ is only called if the named attribute is *not* found (I >>> guess it falls off the end of the case statement, or is the result of >>> the attribute hash table "miss"). >> That's why I said that __getattr__ would perhaps work better. > > So do you want me to try out an implementation and supply a patch? If > so, where should I send the patch?
See here: http://docs.scipy.org/doc/numpy/dev/gitwash/patching.html -- Pauli Virtanen _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion