[NumPy-Tickets] [NumPy] #1491: Bug when comparing str to object
NumPy Trac
numpy-tickets@scipy....
Mon Oct 11 15:26:58 CDT 2010
#1491: Bug when comparing str to object
-------------------------+--------------------------------------------------
Reporter: kwgoodman | Owner: somebody
Type: defect | Status: closed
Priority: normal | Milestone: 1.5.1
Component: numpy.core | Version:
Resolution: fixed | Keywords:
-------------------------+--------------------------------------------------
Changes (by pv):
* status: apply => closed
* resolution: => fixed
* component: Other => numpy.core
* milestone: 2.0.0 => 1.5.1
Comment:
Backport in commit:ec211eb
I do not believe it will break anything -- NotImplemented makes the
comparison fall back to either using the compare method of the other
object (which fixes this bug), or if that does not work, it falls back to
comparison of id()-s, which is OK.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1491#comment:5>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list