Re: [Numpy-discussion] [EXTERNAL] segv PyArray_Check

2013-11-14 Thread Burlen Loring
yes, I verified that it get called. On 11/14/2013 10:31 AM, Bill Spotz wrote: > Burlen, > > Have you actually verified that the first instance of import_array() actually > gets called? Because the behavior suggests that it does not. > > In PyTrilinos, I wrap the import_array() call inside a C++

Re: [Numpy-discussion] [EXTERNAL] segv PyArray_Check

2013-11-14 Thread Bill Spotz
Burlen, Have you actually verified that the first instance of import_array() actually gets called? Because the behavior suggests that it does not. In PyTrilinos, I wrap the import_array() call inside a C++ singleton, and put that singleton in a dynamic library that all my packages link to, thu