[sympy] Re: release plan

2008-11-14 Thread Ondrej Certik
> GAcalc.py is a geometric algebra calculator and runs interactively. > Since you are using ipython it is not needed and should be deleted. I > do not use interactive python for my work since I don't see how to get > LaTeX ouput while using it and I almost always want LaTeX output so that > I can

[sympy] Re: Substitution syntax

2008-11-14 Thread Ondrej Certik
On Fri, Nov 14, 2008 at 9:21 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > On Fri, Nov 14, 2008 at 8:40 PM, llarsen <[EMAIL PROTECTED]> wrote: >> >> Just to test whether the testing tools were working correctly on my >> machine, I tried running the test cases under 'sympy/core' for sympy >> versi

[sympy] Re: sympy and jython

2008-11-14 Thread Ondrej Certik
On Fri, Nov 14, 2008 at 9:04 PM, llarsen <[EMAIL PROTECTED]> wrote: > > Any update on how sympy under jython is coming along? jython now runs sympy: $ jython Jython 2.5a3+ (unknown:exported, Nov 12 2008, 11:38:34) [OpenJDK Server VM (Sun Microsystems Inc.)] on java1.6.0_0 Type "help", "copyright

[sympy] Re: Substitution syntax

2008-11-14 Thread Ondrej Certik
On Fri, Nov 14, 2008 at 8:40 PM, llarsen <[EMAIL PROTECTED]> wrote: > > Just to test whether the testing tools were working correctly on my > machine, I tried running the test cases under 'sympy/core' for sympy > version 0.6.2. This failed. The reulsts are shown at the end of the > post. > > One e

[sympy] sympy and jython

2008-11-14 Thread llarsen
Any update on how sympy under jython is coming along? -Lance Larsen --~--~-~--~~~---~--~~ 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

[sympy] Re: Substitution syntax

2008-11-14 Thread llarsen
Just to test whether the testing tools were working correctly on my machine, I tried running the test cases under 'sympy/core' for sympy version 0.6.2. This failed. The reulsts are shown at the end of the post. One error claimed that the 'Singleton' class could not be imported from 'sympy.core.ba

[sympy] Re: Substitution syntax

2008-11-14 Thread Ondrej Certik
On Fri, Nov 14, 2008 at 7:52 PM, llarsen <[EMAIL PROTECTED]> wrote: > > I update the code to support the f(x=1, y=2) syntax. However, it > turned out that there __call__ was already being used. The following > is the current implementation: > >def __call__(self, *args, **removeme): >re

[sympy] Re: Substitution syntax

2008-11-14 Thread Ondrej Certik
On Fri, Nov 14, 2008 at 8:13 PM, llarsen <[EMAIL PROTECTED]> wrote: > The changes seem to work fine, but some test cases failed... Just > realized that I may have some python path issues causing my tests to > give spurious failures. Once I have addressed this and checked tests I > will give an upd

[sympy] Re: Substitution syntax

2008-11-14 Thread Brian Granger
Did you see the above discussion about how to handle the *args part of it? I don't think we want to simply pass *args on to self.subs. Brian On Fri, Nov 14, 2008 at 11:13 AM, llarsen <[EMAIL PROTECTED]> wrote: > > Oops. Last post got sent before I was finished. Anyway, as I mentioned > I modifi

[sympy] Re: Substitution syntax

2008-11-14 Thread llarsen
Oops. Last post got sent before I was finished. Anyway, as I mentioned I modified the code to accept the f(x=1,y=2), but the __call__ method was already a part of the basic class. I modified subs to accept the syntax f.subs(x=1, y=2) and changed the call function to forward directly to the subs fu

[sympy] Re: Substitution syntax

2008-11-14 Thread llarsen
I update the code to support the f(x=1, y=2) syntax. However, it turned out that there __call__ was already being used. The following is the current implementation: def __call__(self, *args, **removeme): return Function(self[0])(*args) I changed the subs method to allow kwargs "def s

[sympy] Re: Redirection to print command

2008-11-14 Thread Ondrej Certik
On Fri, Nov 14, 2008 at 4:58 PM, Alan Bromborsky <[EMAIL PROTECTED]> wrote: > > Ondrej Certik wrote: >> On Fri, Nov 14, 2008 at 3:32 PM, Alan Bromborsky <[EMAIL PROTECTED]> wrote: >> >>> A while back you showed how to redirect prettyprinter to the print >>> command so one would not have to change p

[sympy] Re: Redirection to print command

2008-11-14 Thread Alan Bromborsky
Ondrej Certik wrote: > On Fri, Nov 14, 2008 at 3:32 PM, Alan Bromborsky <[EMAIL PROTECTED]> wrote: > >> A while back you showed how to redirect prettyprinter to the print >> command so one would not have to change print to prettyprint to get >> prettyprint output. I tried you method with latex

[sympy] Re: Redirection to print command

2008-11-14 Thread Ondrej Certik
On Fri, Nov 14, 2008 at 3:32 PM, Alan Bromborsky <[EMAIL PROTECTED]> wrote: > > A while back you showed how to redirect prettyprinter to the print > command so one would not have to change print to prettyprint to get > prettyprint output. I tried you method with latexprinter but in that > case it

[sympy] Redirection to print command

2008-11-14 Thread Alan Bromborsky
A while back you showed how to redirect prettyprinter to the print command so one would not have to change print to prettyprint to get prettyprint output. I tried you method with latexprinter but in that case it did not work. How would one redirect latexprinter to print so one would not have

[sympy] Re: Substitution syntax

2008-11-14 Thread Jason Merrill
On Nov 14, 4:53 am, "Ondrej Certik" <[EMAIL PROTECTED]> wrote: > On Fri, Nov 14, 2008 at 3:21 AM, Brian Granger <[EMAIL PROTECTED]> wrote: > > > I am a sympy newbie, but I do have some thoughts on this issue.  I am > > not entirely opposed to the new notation, but I think it may be worth > > consi

[sympy] Re: Substitution syntax

2008-11-14 Thread Ondrej Certik
On Fri, Nov 14, 2008 at 3:21 AM, Brian Granger <[EMAIL PROTECTED]> wrote: > > I am a sympy newbie, but I do have some thoughts on this issue. I am > not entirely opposed to the new notation, but I think it may be worth > considering more... > > First, the new syntax is confusing two different thi