Hi,

I was playing a bit with JSON serialization of sympy expression (in the 
idea of producing a expression tree with http://bl.ocks.org/mbostock/4339083but 
I doubt I'll take the time to get there) and I noticed an irregularity 
with the __class__ attribute of an "evaluated function" (I guess this is 
not the proper term).

>>> Function('f').__class__

sympy.core.function.UndefinedFunction

>>> Function('f')(x).__class__
f

I wonder if this was discussed before. Is there some code that relies on this 
behavior ?

best,
Pierre



-- 
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 http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to