Comment #22 on issue 871 by asmeurer: failing sympify on live.sympy.org http://code.google.com/p/sympy/issues/detail?id=871
Yes, what I said is correct. Notice in the traceback that it is coming from the sympify function. This is the function that is in charge of converting strings into SymPy expressions. If you want to try replacing parser with one of the other modules, that would be the place to do it. I would probably use the other parsers here as a fall-back to when parser cannot be imported (i.e., try: import parser; except ImportError: <use other parser>) unless the other parsers here are powerful enough to replace the parser module.
Or, we could try the custom parser here first, and fall back onto the parser module (if it can be imported). I think this is maybe what Vinzent is suggesting. Either way, we should have some kind of try, except ImporError block for import parser so that live.sympy.org raises SympifyError when it cannot do it.
-- You received this message because you are subscribed to the Google Groups "sympy-issues" 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-issues?hl=en.
