Re: [Numpy-discussion] segfault caused by incorrect Py_DECREF in ufunc

2007-07-06 Thread Tom Denniston
Thanks! On 7/6/07, Travis Oliphant <[EMAIL PROTECTED]> wrote: > Tom Denniston wrote: > > >Below is the code around line 900 for ufuncobject.c > >(http://svn.scipy.org/svn/numpy/trunk/numpy/core/src/ufuncobject.c) > > > >There is a decref labeled with ">>>" below that is incorrect. As per > >the p

Re: [Numpy-discussion] segfault caused by incorrect Py_DECREF in ufunc

2007-07-06 Thread Travis Oliphant
Tom Denniston wrote: >Below is the code around line 900 for ufuncobject.c >(http://svn.scipy.org/svn/numpy/trunk/numpy/core/src/ufuncobject.c) > >There is a decref labeled with ">>>" below that is incorrect. As per >the python documentation >(http://docs.python.org/api/dictObjects.html): > >#PyOb

[Numpy-discussion] segfault caused by incorrect Py_DECREF in ufunc

2007-06-28 Thread Tom Denniston
Below is the code around line 900 for ufuncobject.c (http://svn.scipy.org/svn/numpy/trunk/numpy/core/src/ufuncobject.c) There is a decref labeled with ">>>" below that is incorrect. As per the python documentation (http://docs.python.org/api/dictObjects.html): #PyObject* PyDict_GetItem( PyObject