On Wed, Nov 9, 2011 at 10:58 AM, Aaron Meurer <[email protected]> wrote: > Right. This is of course a lot of work to make all the SymPy > functions do type checking, but if you look at the traceback, it's > actually coming from Function.__new__. So maybe we should just make > sure that the core functions do type checking. > > Or maybe we should add an option to sympify() that raises an exception > if the returned object is not Basic and have the core functions call > that (perhaps _sympify() should do this?).
I think it's enough if high level functions like integrate() and diff() do type checking. Ondrej -- 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.
