Comment #20 on issue 1262 by [email protected]: fix sympy to work in python3.0
http://code.google.com/p/sympy/issues/detail?id=1262

I have written some more patches that finally allow SymPy to be run in Python 3. There are still errors, some things are implemented via hacks (the cmp-related stuff) in order to expose the other errors. In the end, though, it works and a majority of tests do pass.

To run SymPy with Python 3, first you'll need to fetch my branch from: https://github.com/vperic/sympy/tree/porting (expect rebases)

After that, run the 2to3 tool. If you've got the python3.2 version installed, use that one:

2to3-3.2 -w -n --no-diff ./

Now run tests, do whatever. Currently, 2465 tests pass, 35 fail and we have 208 exceptions. Many of the exceptions are the same, so I expect that last number to fall rapidly. Some are known issues, which I've marked with FIXME-py3k in the code.

The 2to3 step takes about 3 mins now, after the removal of pyglet (it took at least 5) before and the test suite also runs in about 5-6 mins (used to run ~12 for me). Whether this is a consequence of all the exceptions, or a speedup in Python, I wouldn't know.

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

Reply via email to