On Fri, Feb 5, 2010 at 8:03 AM, Robert Bradshaw
<[email protected]> wrote:
> On Feb 4, 2010, at 10:29 AM, Neal Becker wrote:
>
>> So, do you believe it is OK to release this code as is?  I'm holding
>> up
>> updating Fedora.
>
> Yes, you should be fine releasing. We're erroneously testing something
> that's platform dependent here.
>

Mmm.. I should check if Cython (at PyrexTypes.py) does not make some
assumption about sign of char...

>
>>
>> Robert Bradshaw wrote:
>>
>>> It looks like all of these have to do with char being unsigned in
>>> your
>>> environment. (Whether char is signed is implementation dependent...)
>>> We should fix/disable the tests on platforms where this is the case.
>>>
>>> On Feb 2, 2010, at 4:52 AM, Neal Becker wrote:
>>>
>>>> Build log is here:
>>>> http://koji.fedoraproject.org/koji/getfile?taskID=1958725&name=build.log
>>>>
>>>> Errors start with:
>>>>
>>>> ERROR: Doctest: c_int_types_T255
>>>> ----------------------------------------------------------------------
>>>> Traceback (most recent call last):
>>>> File "/usr/lib/python2.6/doctest.py", line 2145, in runTest
>>>>   raise self.failureException(self.format_failure(new.getvalue()))
>>>> AssertionError: Failed doctest test for c_int_types_T255
>>>> File
>>>> "/builddir/build/BUILD/Cython-0.12.1/BUILD/run/c/
>>>> c_int_types_T255.so", line
>>>> 92, in c_int_types_T255
>>>> ----------------------------------------------------------------------
>>>> File "/builddir/build/BUILD/Cython-0.12.1/BUILD/run/c/
>>>> c_int_types_T255.so",
>>>> line 98, in c_int_types_T255
>>>> Failed example:
>>>>   test_char(CHAR_MIN) == CHAR_MIN
>>>> Exception raised:
>>>>   Traceback (most recent call last):
>>>>     File "/usr/lib/python2.6/doctest.py", line 1241, in __run
>>>>       compileflags, 1) in test.globs
>>>>     File "<doctest c_int_types_T255[1]>", line 1, in <module>
>>>>       test_char(CHAR_MIN) == CHAR_MIN
>>>>     File "c_int_types_T255.pyx", line 8, in
>>>> c_int_types_T255.test_char
>>>> (c_int_types_T255.c:644)
>>>>   OverflowError: can't convert negative value to char
>>>>
>>>> _______________________________________________
>>>> Cython-dev mailing list
>>>> [email protected]
>>>> http://codespeak.net/mailman/listinfo/cython-dev
>>
>>
>> _______________________________________________
>> Cython-dev mailing list
>> [email protected]
>> http://codespeak.net/mailman/listinfo/cython-dev
>
> _______________________________________________
> Cython-dev mailing list
> [email protected]
> http://codespeak.net/mailman/listinfo/cython-dev
>



-- 
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to