Status: Accepted Owner: asmeurer CC: [email protected] Labels: Type-Defect Priority-Medium Printing
New issue 2401 by asmeurer: Lambda doesn't pretty print any more http://code.google.com/p/sympy/issues/detail?id=2401 We used to have: In [1]: Lambda(x, x**2) Out[1]: ⎛ 2⎞ Λ⎝x, x ⎠ but now in master we get: In [1]: Lambda(x, x**2) Out[1]: Lambda(_x, _x**2) I bisected it down to the commit: commit 5b30b25611668cfd622662b63a08cf4d78262c52 Author: Ronan Lamy <[email protected]> Date: Sun Feb 6 01:28:14 2011 +0000 2179: Make Lambda a direct subclass of Expr, instead of Function. Instances of Function aren't callable and represent mathematical expressions and numbers such as sin(1), while instances of Lambda represent mathematical functions, so these two kinds of object have little in common and shouldn't have a direct inheritance relationship. -- 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.
