[Python-Dev] Python parallel benchmark

Hrvoje Nikšić hrvoje.niksic at avl.com
Fri May 16 10:17:25 CEST 2008


On Thu, 2008-05-15 at 21:02 -0400, Tom Pinckney wrote:
> I found some other references where people were expressing concern  
> over numpy releasing the GIL due to the fact that other C extensions  
> could call numpy and unexpectedly have the GIL released on them (or  
> something like that).

Could you please post links to those?  I'm asking because AFAIK that
concern doesn't really stand.  Any (correct) code that releases the GIL
is responsible for reacquiring it before calling *any* Python code, in
fact before doing anything that might touch a Python object or its
refcount.




More information about the Python-Dev mailing list