[Numpy-discussion] Release blockers for 1.4.0 ?
Mon Dec 7 11:14:30 CST 2009
(mobile phone of)
On Dec 7, 2009, at 10:48 AM, Charles R Harris
> On Mon, Dec 7, 2009 at 8:24 AM, David Cournapeau
> <email@example.com> wrote:
> There are a few issues which have been found on numpy 1.4.0, which
> worry me:
> # 1317: segfaults for integer division overflow
> # 1318: all FPU exceptions ignored by default
> #1318 worries me the most: I think it is a pretty serious regression,
> since things like this go unnoticed:
> x = np.array([1, 2, 3, 4]) / 0 # x is an array of 0, no warning
This is the default behavior when error handling is set to ignore. I
don't know when that was changed. I thought some errors were
supposed to be printed.
> Hasn't that always been the case? Unless we have a way to raise
> exceptions from ufuncs I don't know what else we can do.
> NumPy-Discussion mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion