[NumPy-Tickets] [NumPy] #1701: NumPy dtype arithmetic is the opposite of Python type arithmetic!
NumPy Trac
numpy-tickets@scipy....
Sun Dec 26 07:10:32 CST 2010
#1701: NumPy dtype arithmetic is the opposite of Python type arithmetic!
-------------------------+--------------------------------------------------
Reporter: pv00 | Owner: somebody
Type: defect | Status: closed
Priority: normal | Milestone: 2.0.0
Component: numpy.core | Version: 1.5.0
Resolution: invalid | Keywords: dtype
-------------------------+--------------------------------------------------
Changes (by pv):
* status: new => closed
* resolution: => invalid
Comment:
Numpy does not implement any arithmetic for dtype objects. Moreover, `and`
and `or` are not overridable operations in Python.
What you are seeing is a consequence of `bool(dtype(...)) == False`, see
#1702.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1701#comment:1>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list