Hi,

On Thu, Jan 14, 2010 at 11:57:41AM -0800, asmeurer wrote:
> Also, there are some doctest failures, which I think are just because
> old functions need to be replaced with new ones.  And the branch does
> not work in Python 2.4 or 2.5:
> 
> Traceback (most recent call last):
>   File "bin/test", line 16, in <module>
>     import sympy
>   File "/Users/aaronmeurer/Documents/sympy/sympy/__init__.py", line
> 24, in <module>
>     from polys import *
>   File "/Users/aaronmeurer/Documents/sympy/sympy/polys/__init__.py",
> line 3, in <module>
>     from polytools import (
>   File "/Users/aaronmeurer/Documents/sympy/sympy/polys/polytools.py",
> line 1407
>     g = Poly(g, *f.gens, domain=f.get_domain())
>                               ^
> SyntaxError: invalid syntax
> 
> I guess that syntax doesn't work until Python 2.6, so you will have to
> use **kwargs.
> 

right, I didn't bother to try it on 2.4 and 2.5, so here we have an
effect of this. Sometimes I dislike Python community for adding such
obvious and useful features so slow.

Unfortunately (for me), this will have to get fixed, using this old,
ugly syntax. I hope that in not that distant future we will forget
about obsolete 2.4 and 2.5 and focus on moving towards 3.0.

> Aaron Meurer
> 
> On Jan 14, 12:52 pm, Aaron Meurer <[email protected]> wrote:
> > I tried running this (from issue 1787) in the polys4 branch to see if it 
> > would come out better, and I got an error:
> >
> > import sympy as S
> >
> > for s in 'xyabcR':
> >    exec "%c=S.Symbol('%c')" % (s,s)
> >
> > ans=S.solve([x**2+y**2-R**2,a*x+b*y-c],x,y)
> >
> > print ans
> >
> > Just a heads up.
> >
> > Aaron Meurer
> >
> > On Jan 14, 2010, at 12:46 PM, Ondrej Certik wrote:
> >
> >
> >
> > > On Thu, Jan 14, 2010 at 10:52 AM, Mateusz Paprocki <[email protected]> 
> > > wrote:
> > >> Hi,
> >
> > >> On Wed, Jan 13, 2010 at 03:27:27PM -0800, Ondrej Certik wrote:
> > >>> Hi,
> >
> > >>> where is the latest polynomials branch? Is it here:
> >
> > >>> git://github.com/mattpap/sympy-polys.git   polys4
> >
> > >>> ? Is there anything else besides documentation that needs to be 
> > >>> improved?
> >
> > >>> I tried to rebase it to the latest master, but got dozens of
> > >>> conflicts. Mateusz, what is your plan with the branch? Let's make a
> > >>> plan and get it in. Let me know if you have time to rebase it, it
> > >>> would take you less time than me.
> >
> > >>> I keep running into bugs, that are fixed in this branch, so we need it 
> > >>> in.
> >
> > >>> Thanks,
> > >>> Ondrej
> >
> > >> The latest polys branch is polys4, however I haven't rebased it yet
> > >> after 0.6.6 release. When I will have some spare time I will create
> > >> polys5 rebased branch.
> >
> > >> I would like to have new polynomials merged with master but
> > >> still more tests are needed and we need to write documentation
> > >> for the whole module.
> >
> > >> Now I'm busy at school, but after the 25th I will have time to
> > >> finalize this module and merge it with master.
> >
> > > If we write doctests for your poly4 branch (from December) will it
> > > make it harder for you to rebase it? If not, let me write the
> > > documentation for it, at least something that I know how to document.
> > > And then on 25th, you rebase it and we'll push it in.
> >
> > > Ondrej
> > > --
> > > You received this message because you are subscribed to the Google Groups 
> > > "sympy" 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 
> > > athttp://groups.google.com/group/sympy?hl=en.

> -- 
> You received this message because you are subscribed to the Google Groups 
> "sympy" 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?hl=en.
> 
> 

-- 
Mateusz

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to