On Thu, May 24, 2012 at 12:36 PM, Sergiu Ivanov
<[email protected]> wrote:
> Hello,
>
> I have seen it mentioned a number of times in various places that
> SymPy fully supports Python 3 (I hope I'm not mistaken), and,
> obviously, SymPy supports Python 2.7.  Since I am going to write quite
> a bit of code, what should be my strategy with respect to Python
> versions?  Is it a good idea to focus on Python 3 and then see that
> Python 2.7 works as well?  Also, which subversion of Python 3 is
> recommended?

Currently, we do support Python 3, but only with the use of the 2to3
tool (vie the bin/use2to3 script). As such, the recommended
development process is to work in Python 2. then once everything is
alright run use2to3 and check if all the tests pass under Python 3
too. You should be using Python 3.2 (3.1 will mostly work too, but
there may be some doctest errors). I also recommend, if possible, to
work in Python 2.5 (the lowest supported version) as that's where the
trickiest issues arise - 2.7 already supports by default many of the
Python 3 constructs. In any case, whatever works on 2.5 will almost
certainly work on 2.7 while the opposite is less true.

If you have any problems with passing Python 3 tests, feel free to
ping me on Github (@vperic) - this year I'm working as a GSoC student
on Twisted, but I might still be able to help.

>
> Sergiu
>
> --
> 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.
>



-- 
Vladimir Perić

-- 
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.

Reply via email to