[NumPy-Tickets] [NumPy] #1625: Numpy is ignoring the fact "isfinite" is undefined
NumPy Trac
numpy-tickets@scipy....
Tue Oct 5 17:51:56 CDT 2010
#1625: Numpy is ignoring the fact "isfinite" is undefined
----------------------+-----------------------------------------------------
Reporter: drkirkby | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 2.0.0
Component: Other | Version: 1.5.0
Keywords: |
----------------------+-----------------------------------------------------
Comment(by pv):
> I take your point, but it does cause problems when people write code and
> assume that they can use things like isfinite as they are declared in
math.h,
> when in fact they are not standard. This seems to be the case in point
here.
That is not the issue here. The build does check whether `isfinite`
is available.
However, the code at `numpy/core/setup.py:218` is wrong, since it checks
for `#ifdef` and not `#if` for Python's `HAVE_DECL_ISFINITE`.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1625#comment:3>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list