Status: Started
Owner: nicolas.pourcelot
CC: ondrej.certik
Labels: Type-Enhancement Priority-Medium NeedsReview

New issue 2086 by nicolas.pourcelot: SympifyError should be more explicit
http://code.google.com/p/sympy/issues/detail?id=2086

When a SympifyError occurs inside a program, the message displayed is not very explicit :
sympify('x^*2')
Traceback (most recent call last):
...
SympifyError: SympifyError: "Cannot parse."

This (tiny) patch appends the expression which failed to the message, and a small doctest coverage.

sympify('x^*2')
Traceback (most recent call last):
...
SympifyError: SympifyError: "Cannot parse u'x***2'."

Attachments:
        0001-Explicit-SympifyError.patch  1.8 KB

--
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.

Reply via email to