Well, I guess we *don't* actually want all callables, since that causes some
issues with classes that have __call__ defined. http://dpaste.com/215213/ .
Bummer.
Here is the patch for option 2:
http://github.com/xiongchiamiov/sympy/compare/tempfix . I tested with
python 2.4 and 2.7rc2 (with -3).
On Tue, Jul 6, 2010 at 11:59 AM, James Pearson
james.m.pear...@gmail.com wrote:
Well, I guess we *don't* actually want all callables, since that causes some
issues with classes that have __call__ defined. http://dpaste.com/215213/ .
Bummer.
Too bad.
Here is the patch for option 2:
My previous post notwithstanding, you could also use the inspect
class, available since Python v2.1: http://docs.python.org/library/inspect.html
. I believe isfunction is what you want.
--
You received this message because you are subscribed to the Google Groups
sympy group.
To post to this
I tested with python 2.4 and 2.7rc2 (with -3).
FYI, 2.7 was released on Saturday! Yay!
--
You received this message because you are subscribed to the Google Groups
sympy group.
To post to this group, send email to sy...@googlegroups.com.
To unsubscribe from this group, send email to