[Numpy-discussion] minor threads-related issue in numpy-release 1.6.2 and numpy-dev
Tue Aug 14 09:27:09 CDT 2012
> Some parts of the numpy code release the GIL, so it needs to be reacquired
> in order to call the Python C_API. A quick look shows a call to
> PyObject_Print in the function and there may be other such calls. The right
> fix is probably to use a couple of ifdefs if there is an easy way to
> determine the Python interpreter configuration <looks>... WITH_THREAD seems
> to be the right flag.
I totally missed the PyObject_Print calls on read-through. Okay, this
makes sense now. I'll put together a patch the next time I'm waiting on a
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion