Brian Granger : > 2. The with statement actually gives a very nice way of expressing an > assumption that should be applied to a set of expressions. Nice idea! > +1
It's really nice in a script or a program indeed (if python version is 2.5 or above). However, in a an interactive session, it is not always so nice, since you typically write a calculus, then read the output, and depending on the output, decide to write an other calculus. Using a "with" bloc in this case is not really pleasant. Ondrej Certik: >> Also I don't like that the assumptions are assigned to the symbols >> directly. See also the issue #1047 for some arguments against it. Sorry, but I did'nt see any argument against it in issue #1047. Did you mean another issue ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---