[Cython] What's wrong with py3k pyregr tests?

Stefan Behnel stefan_ml at behnel.de
Sun Oct 23 10:19:00 CEST 2011


Vitja Makarov, 21.10.2011 22:38:
> 2011/10/21 Stefan Behnel:
>> Stefan Behnel, 21.10.2011 12:01:
>>>
>>> Vitja Makarov, 21.10.2011 11:44:
>>>>
>>>> I tried to run pyregr tests on my localhost and it doesn't sigsegv.
>>>
>>> It's a crash bug in the debug builds of the latest py3k branch.
>>>
>>>
>>>> Perhaps I should try compiled version of Cython.
>>>
>>> Yes, but it's not required to reproduce the crash.
>>
>> Hmm, I may have been mistaken. At least it seems to be a problem with
>> getattr(), which breaks the lookup of builtin names. My guess is that
>> unicode hashing is broken in some way for str subtypes (as we use for
>> names).
>
> I switched to py3k-opt and it worked! Now we got ~13K/265:
>
> https://sage.math.washington.edu:8091/hudson/view/dev-vitek/job/cython-vitek-tests-pyregr-py3k-c/

Very cool.

Note that the bug in CPython has finally been fixed, so the debug builds 
should be back to normal again. I re-enabled the tests for the master branch.

Stefan


More information about the cython-devel mailing list