Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium Parsing
New issue 3051 by [email protected]: sympify string forms of lambda
http://code.google.com/p/sympy/issues/detail?id=3051
In [1]: sympify("lambda x: x")
---------------------------------------------------------------------------
SympifyError Traceback (most recent call last)
/Users/aaronmeurer/Documents/Python/sympy/sympy/<ipython-input-1-8c26034610e6>
in
<module>()
----> 1 sympify("lambda x: x")
/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/core/sympify.py in
sympify(a, locals, convert_xor, strict, rational)
160 expr = parse_expr(a, locals or {}, rational, convert_xor)
161 except (TokenError, SyntaxError):
--> 162 raise SympifyError('could not parse %r' % a)
163
164 return expr
SympifyError: SympifyError: "could not parse u'lambda x: x'"
This should return Lambda(x, x).
--
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.