Re: [Numpy-discussion] Profiling with cProfile

2009-02-09 Thread Robert Kern
On Mon, Feb 9, 2009 at 15:35, Simon Palmer wrote: > > Hi, > I am trying to profile a bit of code I have written using cProfile. When I > run it I get the message: > > TypeError: unhashable type: 'numpy.ndarray' > > I am using runctx with some local variables which are ndarrays. > > I am guessing

[Numpy-discussion] Profiling with cProfile

2009-02-09 Thread Simon Palmer
Hi, I am trying to profile a bit of code I have written using cProfile. When I run it I get the message: TypeError: unhashable type: 'numpy.ndarray' I am using runctx with some local variables which are ndarrays. I am guessing that this is a lmitation of either cProfile or numpy or the mix of