Hi, Do you know how in Python one can tell if an object is a SAGE object without using isinstance method? Do SAGE objects have something specific that could be useful for that, eg some naming convention, some structure, anything? This info would be needed in sympify. Plain str(<sageobejct>) approach is not robust enough as also other arbitrary objects are converted to string in this way and make catching invalid inputs to sympify difficult.
Thanks, 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 -~----------~----~----~----~------~----~------~--~---
