[Numpy-discussion] classmethods for ndarray

Travis Oliphant oliphant@ee.byu....
Thu Feb 1 18:50:31 CST 2007

Sebastian Haase wrote:

>Could you explain what a possible downside of this would be !?
>It seems that if you don't need to refer to a specific "self" object
>that a class-method is what it should - is this not always right !?
I don't understand the last point.   Classmethods would get inherited by 
sub-classes by default, as far as I know.

I can't think of any downsides.  I have to understand how class-methods 
are actually implemented, though before I could comment on speed 
implications of class methods.


More information about the Numpy-discussion mailing list