Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
memory leak with typed ndarray and memory views #2828
Any ideas what might cause this strange behaviour?
I looked into this a bit and could reproduce it. Not sure where the problem is, though. It would help to see if moving either NumPy or Cython out of the way would show the same issue, so that we can see if it's due to Cython or NumPy (or a mix of both).
Also, arrays with a zero dimension, while certainly not useless, do not seem like a particularly critical use case to fix. That might also be the reason why it's not been found and/or reported so far.