#11383: Color('red') == Color('red') returns False
----------------------------------+-----------------------------------------
       Reporter:  slabbe          |         Owner:  slabbe      
           Type:  defect          |        Status:  needs_review
       Priority:  major           |     Milestone:  sage-5.0    
      Component:  graphics        |    Resolution:              
       Keywords:  beginner, sd31  |   Work issues:              
Report Upstream:  N/A             |     Reviewers:              
        Authors:  Ryan Grout      |     Merged in:              
   Dependencies:                  |      Stopgaps:              
----------------------------------+-----------------------------------------

Comment (by kcrisman):

 The only other thing I can think of is what behavior we want for
 {{{
 sage: Color('red') > Color('yellow')
 }}}
 I figure they should all be False? or an error?  But actually we now get
 {{{
 sage: Color('red') > Color('red')
 True
 sage: Color('red') > Color('yellow')
 True
 }}}
 Hmm... I feel like this is needs work, though this is the previous
 behavior.  But if we're going to fix this, it should really be fixed.
 What do you all think?

 Ironically, whoever first added the very nice docstring formatting may be
 disappointed - although this is in the reference manual, double underscore
 methods don't show up!  But '''I''' appreciate it.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11383#comment:18>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to