[Numpy-discussion] UNREF

Karl Bellve Karl.Bellve at umassmed.edu
Wed May 9 12:22:11 EDT 2001


More info:

I can reproduce this error with the following loop:

for (int x = 0; x < 100; x++)
{
   Py_Initialize();
   import_array();
   PyRun_SimpleString("from Numeric import *\n");
   TRACE("%d\n",x);
   Py_Finalize();
}


Here is the output:
0
1
Fatal Python error: UNREF invalid object


-- 
Cheers,



Karl Bellve




More information about the NumPy-Discussion mailing list