Hello,

Regression in the move to python3 is happening all the time, and it is 
indeed very annoying.

Making a test target and a buildbot may be easier once at least all our 
cython files are correctly cythonized in py3. This is blocked by the 
removal of cmp() in all .pyx files. Not an easy task, as the remaining 
instances involve coercion, parents and elements. Experts would be welcome 
to help.

I would also like that the doctests are run using the python3 syntax for 
print. Does anybody know how to do that ? A priori, all tests should pass.

If this is possible, the next thing to do will be to run doctests with the 
range turned into an iterator. In this case, some tests still need care to 
pass.

Frederic


Le dimanche 11 décembre 2016 09:14:01 UTC+1, Jori Mäntysalo a écrit :
>
> Latest beta is now almost Python3-compatible at syntax level, that is 
>
> find src/sage -name '*.py' | xargs -n 1 python3 -m py_compile 
>
> outputs almost nothing. However, there is now a lambda-line in 
> src/sage/graphs/generators/smallgraphs.py that needs Python2. 
>
> Please check you syntax against Py3 when making patches. That will save 
> time later. 
>
> -- 
> Jori Mäntysalo 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to