On May 4, 9:07 am, Jaap Spies <j.sp...@hccnet.nl> wrote:
> mabshoff wrote:
> > Hello folks,

<SNIP>

> > Please build, test and report issues as usual.
>
> On Fedora 9, 32 bit upgraded from alpha0 -> rc0-> sage-3.4.2
> and on Fedora 10, 32 bit upgraded from rc0 I get tons
> of failures with prime_pi, e.g.:
>
> sage -t  "devel/sage/sage/functions/prime_pi.pyx"
> **********************************************************************
> File 
> "/home/jaap/Download/sage-3.4.2.rc0/devel/sage/sage/functions/prime_pi.pyx", 
> line 74:
>      sage: prime_pi(7)
> Exception raised:
>      Traceback (most recent call last):
>        File "/home/jaap/Download/sage-3.4.2.rc0/local/bin/ncadoctest.py", 
> line 1231, in run_one_test
>          self.run_one_example(test, example, filename, compileflags)
>        File "/home/jaap/Download/sage-3.4.2.rc0/local/bin/sagedoctest.py", 
> line 38, in run_one_example
>          OrigDocTestRunner.run_one_example(self, test, example, filename, 
> compileflags)
>        File "/home/jaap/Download/sage-3.4.2.rc0/local/bin/ncadoctest.py", 
> line 1172, in run_one_example
>          compileflags, 1) in test.globs
>        File "<doctest __main__.example_3[2]>", line 1, in <module>
>          prime_pi(Integer(7))###line 74:
>      sage: prime_pi(7)
>        File "prime_pi.pyx", line 175, in 
> sage.functions.prime_pi.PrimePi.__call__ (sage/functions/prime_pi.c:1101)
>      NotImplementedError: computation of prime_pi() greater 2**40 not 
> implemented
> **********************************************************************
> File 
> "/home/jaap/Download/sage-3.4.2.rc0/devel/sage/sage/functions/prime_pi.pyx", 
> line 76:
>      sage: prime_pi(100)
> Exception raised:

Arrg, this is cause by Integer(2**40) on 32 bit systems being "0" in
Cython. I didn't use any long representation of 2^40 to avoid running
into 32 vs. 64 bit issues. Oh well, please open a ticket, I guess
there will be another "final" 3.4.2 tarball :(

> Jaap

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to