Well, certainly imports could also be a problem. Is there any possibility that cython does not require absolute imports ? I have heard the cython can accept both py2 and py3 syntax. Where can I find documentation ?
I tried to compile sage in Py3 by commenting out all the bad "cmp(something)" in pyx files, and the "cythonizing" worked all the way. Then the compilation itself hanged up in one the pyx files. I have not yet investigated why. Frederic Le lundi 15 août 2016 09:19:53 UTC+2, Jeroen Demeyer a écrit : > > On 2016-08-14 14:41, Frédéric Chapoton wrote: > > As an intermediate step in our long way to python3, I would like to be > > able to compile all the .pyx files in py3. > > > > Except for #21246 (please review) > > What about imports? Are all imports in Cython files converted to proper > absolute/relative imports which work with from __future__ import > absolute_import? I did that once for .pxd files (#21090), but not yet > for .pyx files. > -- 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 sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.