On Mon, Sep 24, 2012 at 7:45 PM, Nathaniel Smith <n...@pobox.com> wrote: > On Mon, Sep 24, 2012 at 7:19 PM, Gael Varoquaux > <gael.varoqu...@normalesup.org> wrote: >> Hi Fred, >> >> On Mon, Sep 24, 2012 at 02:17:16PM -0400, Frédéric Bastien wrote: >>> with numpy '1.6.1', I have no problem. >> >>> With numpy 1.7.0b2, I can reproduce the problem. >> >> OK, thanks. I think that I'll start a bisect to figure out when it crept >> in. > > This also seems to reproduce it: > > while True: > a = np.zeros((1000, 1000)) > a.diagonal() > > which means I probably forgot a DECREF while doing the > PyArray_Diagonal changes...
Yep: https://github.com/numpy/numpy/pull/457 -n _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion