ó ]ĐKc@sˆddlZddlZdddddgZdefd„ƒYZdefd„ƒYZdeefd „ƒYZd „Zd „Z dS( i˙˙˙˙NtMathDomainErrortUnderflowErrortNumOverflowErrort handleErrortget_numarray_include_dirscBseZRS((t__name__t __module__(((s7/usr/lib/python2.7/site-packages/numpy/numarray/util.pyRscBseZRS((RR(((s7/usr/lib/python2.7/site-packages/numpy/numarray/util.pyRscBseZRS((RR(((s7/usr/lib/python2.7/site-packages/numpy/numarray/util.pyR scCs<tjƒ}|tj@rW|ddkr5dG|GHn|ddkrWt|ƒ‚qWn|tj@r˘|ddkr€dG|GHn|ddkr˘t|ƒ‚q˘n|tj@rí|ddkrËdG|GHn|ddkrít|ƒ‚qín|tj@r8|d dkrd G|GHn|d dkr8t |ƒ‚q8nd S( s2Take error status and use error mode to handle it.tinvalidtwarns.Warning: Encountered invalid numeric result(s)traiset dividebyzeros&Warning: Encountered divide by zero(s)toverflows Warning: Encountered overflow(s)t underflows!Warning: Encountered underflow(s)N( tnumpytgeterrt FPE_INVALIDRtFPE_DIVIDEBYZEROtZeroDivisionErrort FPE_OVERFLOWRt FPE_UNDERFLOWR(t errorStatust sourcemsgtmodes((s7/usr/lib/python2.7/site-packages/numpy/numarray/util.pyR s*         cCs1tjjtjƒ}tjj|dƒg}|S(Ntnumarray(tostpathtdirnameR t__file__tjoin(tbasetnewdirs((s7/usr/lib/python2.7/site-packages/numpy/numarray/util.pyR$s( RR t__all__tArithmeticErrorRRt OverflowErrorRRR(((s7/usr/lib/python2.7/site-packages/numpy/numarray/util.pyts