[NumPy-Tickets] [NumPy] #2138: numpy.interp does not release the GIL

NumPy Trac numpy-tickets@scipy....
Mon May 21 22:00:22 CDT 2012


#2138: numpy.interp does not release the GIL
-------------------------+--------------------------------------------------
 Reporter:  rainwoodman  |       Owner:  somebody   
     Type:  defect       |      Status:  new        
 Priority:  normal       |   Milestone:  Unscheduled
Component:  numpy.lib    |     Version:  1.6.1      
 Keywords:               |  
-------------------------+--------------------------------------------------
 numpy.interp does not release the GIL.

 The function is implemented in {{{_compiled_base.c}}}

 This is seems to be related to http://projects.scipy.org/numpy/ticket/80,
 which is closed 6 years ago(before interp gets into numpy?)

 Anyhow, it appears to me it is safe to release the GIL at line 535-before
 the slope calculation starts and re-grab the GIL at line 553-before the
 destruction of all allocated objects.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/2138>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list