Re: question about numpy, subclassing, and a DeprecationWarning

2012-06-27 Thread Robert Kern
On 6/27/12 10:02 PM, Jason Swails wrote: Hello, I'm running into an unexpected issue in a program I'm writing, and I was hoping someone could provide some clarification for me. I'm trying to subclass numpy.ndarray (basically create a class to handle a 3D grid). When I instantiate a numpy.ndarr

question about numpy, subclassing, and a DeprecationWarning

2012-06-27 Thread Jason Swails
Hello, I'm running into an unexpected issue in a program I'm writing, and I was hoping someone could provide some clarification for me. I'm trying to subclass numpy.ndarray (basically create a class to handle a 3D grid). When I instantiate a numpy.ndarray, everything works as expected. When I c