#13957: catch ValueError in comparisons
----------------------------------------+-----------------------------------
       Reporter:  vdelecroix            |         Owner:  vdelecroix  
           Type:  defect                |        Status:  needs_review
       Priority:  major                 |     Milestone:  sage-5.10   
      Component:  coercion              |    Resolution:              
       Keywords:  coercion, comparison  |   Work issues:              
Report Upstream:  N/A                   |     Reviewers:              
        Authors:  Vincent Delecroix     |     Merged in:              
   Dependencies:                        |      Stopgaps:              
----------------------------------------+-----------------------------------

Comment (by tscrim):

 Replying to [comment:2 vdelecroix]:
 > No... the only way I found is through a Cython class that inherits from
 Element. A concrete example is with finite words in #12224. I will look
 further.

 I completely forgot about this ticket. Vincent, could you do a
 minimal/small example by doing the doctest something like
 {{{
 sage: cython("""
 ....: class Foo(Element):
 ....:     pass
 ....: """)
 sage: Foo() == Foo()
 sage: Foo() < Foo()
 }}}

 Thanks,[[BR]]
 Travis

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13957#comment:6>
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 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/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to