[SciPy-dev] Removing globals from minpack wrapper, v2

Yosef Meller mellerf@netvision.net...
Sat Jun 28 07:07:25 CDT 2008

My continued worl on removing globals from the minpack wrapper, for your 
testing pleasure.

  * Applied the same strategy to minpack_hybrd (mostly, but not fully, a 
copy-paste job from minpack_hybrj)
  * polished the previous code a bit.
  * Now with multithreading! in minpack_hybrj and 
jac_multipack_calling_function the GIL is released and reacquired as 
necessary. Works on my machine, and you can test it with the attached 
python program. I still haven't had the chance to test it on a dual core 
system, though, and it might be a while before I do.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_globals_nuke.py
Type: text/x-python
Size: 516 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/scipy-dev/attachments/20080628/14b12096/attachment.py 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nuke_globals-v2.patch
Type: text/x-diff
Size: 10659 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/scipy-dev/attachments/20080628/14b12096/attachment.bin 

More information about the Scipy-dev mailing list