Status: New
Owner:
Labels: Type-Defect Priority-Medium
New issue 3394 by r.lup...@gmail.com: Symbol called lambda causes syntax
error in code from python()
http://code.google.com/p/sympy/issues/detail?id=3394
The code generated by python() should know that lambda is a keyword in
Python
Updates:
Status: Valid
Labels: Printing
Comment #1 on issue 3394 by asmeu...@gmail.com: Symbol called lambda causes
syntax error in code from python()
http://code.google.com/p/sympy/issues/detail?id=3394
Is there a way to programmatically get a list of all reserved names in
Updates:
Labels: EasyToFix
Comment #2 on issue 3394 by asmeu...@gmail.com: Symbol called lambda causes
syntax error in code from python()
http://code.google.com/p/sympy/issues/detail?id=3394
Ah yes, the keyword module. So we should just check, and if it is, add a _
to the end.
--
Updates:
Status: Fixed
Comment #3 on issue 3394 by someb...@bluewin.ch: Symbol called lambda
causes syntax error in code from python()
http://code.google.com/p/sympy/issues/detail?id=3394
Fixed with PR 1527.
--
You received this message because you are subscribed to the Google Groups
Comment #4 on issue 3394 by r.lup...@gmail.com: Symbol called lambda causes
syntax error in code from python()
http://code.google.com/p/sympy/issues/detail?id=3394
Thanks for looking at this. I agree with the comment in the PR though that
the symbol name should not be changed:
lambda_ = S
Updates:
Status: Started
Comment #5 on issue 3394 by asmeu...@gmail.com: Symbol called lambda causes
syntax error in code from python()
http://code.google.com/p/sympy/issues/detail?id=3394
Don't mark an issue as fixed until the pull request has been merged.
--
You received this messa
Updates:
Status: Fixed
Comment #6 on issue 3394 by ronan.l...@gmail.com: Symbol called lambda
causes syntax error in code from python()
http://code.google.com/p/sympy/issues/detail?id=3394
PR 1527 was merged.
--
You received this message because you are subscribed to the Google Group