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

Travis Oliphant oliphant.travis at ieee.org
Tue Apr 18 11:09:03 CDT 2006

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.

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.


More information about the Numpy-discussion mailing list