Re: What to do about sagemath

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16.10.2018 19:17, Jerry James wrote:
On Tue, Oct 16, 2018 at 9:51 AM Jerry James <loganjerry@xxxxxxxxx> wrote:
Sadly, no.

Here is the challenge, Python aficionados.  The attached file,
test.pyx, can be processed like this on Fedora 28 with Cython 0.28.4:
"cythonize -3 test.pyx".  That succeeds and generates code that Does
The Right Thing.

On Rawhide with Cython 0.29rc2, that fails as noted earlier in this
thread.  The name PyLongObject cannot be imported with cimport.  How
does the code need to change to compute the same result?

This compiles for me:

from cpython.longintrepr cimport PyLong_SHIFT, py_long, digit
...
cdef const digit* D = (<py_long>x).ob_digit


--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux