#8860: incoherent types for real numbers
--------------------------------+-------------------------------------------
   Reporter:  zimmerma          |       Owner:  AlexGhitza
       Type:  defect            |      Status:  new       
   Priority:  minor             |   Milestone:            
  Component:  basic arithmetic  |    Keywords:            
     Author:                    |    Upstream:  N/A       
   Reviewer:                    |      Merged:            
Work_issues:                    |  
--------------------------------+-------------------------------------------

Comment(by zimmerma):

 Sage 4.3.5:
 {{{
 sage: isinstance(1.2, RealNumber)
 ---------------------------------------------------------------------------
 TypeError                                 Traceback (most recent call
 last)

 /users/caramel/zimmerma/<ipython console> in <module>()

 TypeError: isinstance() arg 2 must be a class, type, or tuple of classes
 and types
 }}}
 Same thing with {{{isinstance(n(1.2,100), RealNumber)}}}. Should I open a
 separate ticket for that?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8860#comment:12>
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