[Numpy-discussion] Strange PyArray_FromObject() behavior

2012-02-16 Thread Spotz, William F
I have a user who is reporting tests that are failing on his platform. I have not been able to reproduce the error on my system, but working with him, we have isolated the problem to unexpected results when PyArray_FromObject() is called. Here is the chain of events: In python, an integer is

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

2012-02-16 Thread Val Kalatsky
Hi Bill, Looks like you are running a very fresh version of numpy. Without knowing the build version and what's going on in the extension module I can't tell you much. The usual suspects would be: 1) Numpy bug, not too likely. 2) Incorrect use of PyArray_FromObject, you'll need to send more info.

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

2012-02-16 Thread Charles R Harris
On Thu, Feb 16, 2012 at 10:09 AM, Spotz, William F wfsp...@sandia.govwrote: I have a user who is reporting tests that are failing on his platform. I have not been able to reproduce the error on my system, but working with him, we have isolated the problem to unexpected results when