Updates:
        Status: Valid
        Cc: [email protected]

Comment #9 on issue 1170 by [email protected]: ordering of classes
http://code.google.com/p/sympy/issues/detail?id=1170

$ fgrep -R __cmp__ sympy/
sympy/core/core.py:# via __cmp__ method:
sympy/core/core.py:    def __cmp__(cls, other):
sympy/core/core.py:        if cls.__cmp__(other) == -1:
sympy/core/core.py:        if cls.__cmp__(other) == 1:
sympy/core/basic.py: # all redefinitions of __cmp__ method should start with the
sympy/core/logic.py:        if cls.__cmp__(other) == -1:
sympy/core/logic.py:    def __cmp__(a, b):
sympy/mpmath/tests/test_convert.py:    if hasattr(x, "__cmp__"):
sympy/mpmath/tests/test_convert.py: assert x.__cmp__(a) is NotImplemented sympy/mpmath/ctx_mp_python.py: def __cmp__(s, t): return s._cmp(t, mpf_cmp) sympy/physics/quantum/commutator.py: arguments of the commutator are put into canonical order using ``__cmp__``. sympy/physics/quantum/anticommutator.py: ``__cmp__``. If ``B < A``, then ``{A, B}`` is returned as ``{B, A}``. sympy/physics/secondquant.py: The arguments are ordered according to .__cmp__()
sympy/geometry/tests/test_geometry.py:    assert e1.__cmp__(e1) == 0
sympy/geometry/tests/test_geometry.py:    assert e1.__cmp__(Point(0, 0)) > 0
sympy/geometry/entity.py:# How entities are ordered; used by __cmp__ in GeometryEntity
sympy/geometry/entity.py:    def __cmp__(self, other):


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to