On Nov 13, 1:37 pm, "Ondrej Certik" <[EMAIL PROTECTED]> wrote:
> > Hi,
> > Do you know how in Python one can tell if an object
> > is a SAGE object without using isinstance method?
>
> Maybe, didn't thought about it - why isn't isinstance sufficient enough?
Because sympy should not import SAGE.
But if SAGE objects will have __sympy__ methods then
sympify needs to only to check the availability of __sympy__
method and call it if available.
Pearu
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sympy" 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/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---