[Numpy-tickets] [NumPy] #893: Numpy incompatible with python -OO
NumPy
numpy-tickets@scipy....
Thu Aug 28 17:27:32 CDT 2008
#893: Numpy incompatible with python -OO
----------------------+-----------------------------------------------------
Reporter: cscott | Owner: pierregm
Type: defect | Status: new
Priority: normal | Milestone: 1.2.0
Component: numpy.ma | Version: none
Severity: normal | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Comment (by charris):
But really, the problem is in convolve, which misuses assert to report a
runtime error. Assert is for debugging, which is not what -OO is about.
{{{
>>> raise AssertionError, "bummer"
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AssertionError: bummer
>>> assert 1 == 0, "bummer"
>>>
}}}
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/893#comment:13>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list