Re: [Numpy-discussion] [EXTERNAL] Re: Strange PyArray_FromObject() behavior

2012-02-17 Thread Charles R Harris
On Fri, Feb 17, 2012 at 10:31 AM, Bill Spotz wrote: > Chuck, > > I provided a little more context in another email. The user is using > numpy 1.6.1 with python 2.6. I asked him to try an earlier version -- > we'll see how it goes. This is code that has worked for a long time. It > still works

Re: [Numpy-discussion] [EXTERNAL] Re: Strange PyArray_FromObject() behavior

2012-02-17 Thread Bill Spotz
Chuck, I provided a little more context in another email. The user is using numpy 1.6.1 with python 2.6. I asked him to try an earlier version -- we'll see how it goes. This is code that has worked for a long time. It still works on my laptop and on our test platforms. The behavior on the

Re: [Numpy-discussion] [EXTERNAL] Re: Strange PyArray_FromObject() behavior

2012-02-16 Thread Bill Spotz
Val, The problem occurs in function PyArrayObject* obj_to_array_allow_conversion(PyObject* input, int typecode, int* is_new_object) in numpy.i (which is the numpy SWIG interface file that I authored a