#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:
----------------------------------+-----------------------------------------
Changes (by aapitzsch):
* status: needs_work => needs_review
Old description:
> I would like this to be True:
>
> {{{
> sage: Color('red') == Color('red')
> False
> }}}
>
> and these as well:
>
> {{{
> sage: Color((1,0,0)) == Color('red')
> False
> sage: Color((1,0,0)) == Color((1,0,0))
> False
> }}}
New description:
I would like this to be True:
{{{
sage: Color('red') == Color('red')
False
}}}
and these as well:
{{{
sage: Color((1,0,0)) == Color('red')
False
sage: Color((1,0,0)) == Color((1,0,0))
False
}}}
Apply [attachment:trac_11383.patch]
--
Comment:
Patch is needed for #12904.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11383#comment:16>
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.