[Cython] Cython 0.9.6.14 release candidate

Stefan Behnel stefan_ml at behnel.de
Thu May 1 19:20:55 CEST 2008


Hi,

Neal Becker wrote:
> Traceback (most recent call last):
>   File "/usr/lib64/python2.5/doctest.py", line 2112, in runTest
>     raise self.failureException(self.format_failure(new.getvalue()))
> AssertionError: Failed doctest test for r_vree_1
>   File "/home/nbecker/cython-devel/BUILD/r_vree_1.so", line 190, in r_vree_1
> 
> ----------------------------------------------------------------------
> File "/home/nbecker/cython-devel/BUILD/r_vree_1.so", line 203, in r_vree_1
> Failed example:
>     test(sys.maxint + 1)
> Expected:
>     2147483648L
> Got:
>     9223372036854775808L
> ----------------------------------------------------------------------
> File "/home/nbecker/cython-devel/BUILD/r_vree_1.so", line 205, in r_vree_1
> Failed example:
>     test(sys.maxint * 2 + 1)
> Expected:
>     4294967295L
> Got:
>     18446744073709551615L
> 
> 
> ----------------------------------------------------------------------
> Ran 213 tests in 53.887s
> 
> FAILED (failures=1)
> 
> These are probably harmless 32/64 bit errors?  Tests should be fixed?

Sure, looks like the test is broken here. What is sys.maxint on a 64 bit platform?

Could you dig into this and try to provide a fix?

Stefan



More information about the Cython-dev mailing list