Comment #16 on issue 3025 by [email protected]: Piecewise evaluate=False does not work when conditions are boolean
http://code.google.com/p/sympy/issues/detail?id=3025
The new syntax only affects the end of the argument list. Here, we're discussing the meaning of the arguments in the middle.
A lone pair doesn't really mean anything, since all the conditions before it have to be evaluated - just like an elif statement can't really be understood if you don't know what went before. What you're suggesting amounts to making Piecewise non-deterministic, e.g. with p = Piecewise((1, x > 0), (2, y > 0), 3) [your new syntax and semantics], p.subs(x, 1).subs(y, 1) == 1 but p.subs(y, 1).subs(x, 1) == 2.
-- 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.
