Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Parsing

New issue 4016 by [email protected]: Parser fails to parse pi with implicit_multiplication
http://code.google.com/p/sympy/issues/detail?id=4016

When trying to parse an expression of the form
pi {Symbol}

The parser breaks.


import sympy.parsing.sympy_parser as parser

parser.parse_expr(r'pi w', transformations = parser.standard_transformations + (parser.implicit_multiplication,))
  File "<string>", line 1
    pi Symbol ('w' )
            ^
SyntaxError: invalid syntax

It works the other way around, ie {Symbol} pi:

parser.parse_expr(r'w pi', transformations = parser.standard_transformations + (parser.implicit_multiplication,))
Out[105]: pi*w


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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-issues.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to