[Numpy-discussion] String (and unicode) comparisons and per-thread error handling fixed

Tim Hochberg tim.hochberg at cox.net
Tue Apr 18 11:21:06 CDT 2006

Travis Oliphant wrote:

> String comparisons were added last week.  Today, I added per-thread 
> error handling to NumPy.  There is 1 more enhancement (scalar math) 
> prior to 0.9.8 release --- but it will probably take 1-2 weeks.

Oops!  I'm about 2/3 done doing this one too. I think I'll go ahead and 
finish mine up and see how our approaches stack up performance wise and 
see if there's any of mine that's useful to roll into yours.


> The new error handling means that the three-scope system is gone.  
> Now, there is only one per-Python-thread global scope for error 
> handling.  If you change the error handling it will affect all 
> ufuncs.   Because of this, the seterr function now returns an object 
> with the old error-handling information.  This object must be passed 
> to umath.seterrobj() in order to restore the error handling.
> -Travis
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting 
> language
> that extends applications into web and mobile media. Attend the live 
> webcast
> and join the prime developer group breaking into this new coding 
> territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion

More information about the Numpy-discussion mailing list