I am working on an ios application with python/sympy embedded.  I have got 
the basics working but have noticed an issue when I send commands over to 
the sympy engine.  Normally, when I use sympy I am using it in an 
interactive shell such as isympy. If you type in a command in isympy it 
will automatically convert numbers to sympy objects.  For example, if  I 
want to add two integers 1+2.  In isympy if I check the object type with 
type(1+2) I will get <class 'sympy.core.numbers.Integer'>; however, with my 
embedded system I get <class 'int'>, which means the numbers are python 
objects not sympy.  I know you can use sympify() to convert objects but 
this does not work for all input.  Isympy has the logic of when to use 
sympyify() in it.  Is there a way to load isympy in an embedded system or 
get the object conversion logic in an embedded system?  Thanks in advance 
for your help. 

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" 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 https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/ef5d0808-31a7-4b6c-a53a-3e302de5292a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to