Dag Sverre Seljebotn wrote:
> Nathan Dunfield wrote:
>> Replacing the initial code with
>>
>> --------------------------------------------------
>> ctypedef char Boolean
>>
>> cdef public Boolean gLongComputationInProgress
>> --------------------------------------------------
>>
>> fixes the problem, though I'm not sure why.
>>
>> While I have not filed a bug report on this, though I'm happy to do so
>> if requested.  I've attached a minimal example exhibiting the bug that
>> conversely works fine with Cython 0.11.1.
> 
> This is definitely my fault :-( I'll get a fix up today or tomorrow.

Well, then nice weather hit and it seemed less attractive to waste my 
time on Cython :-)

A fix is up on hg.cython.org [1]. You can grab this by through the links 
here, direct link:

http://hg.cython.org/cython/archive/tip.tar.gz

It's not as extensively tested but it "should work" (as Robert spoke of 
we may do a minor release in about a week where we've tested this more).

(Note to self: More extensive tests in tests/run/typedfieldbug_T303.pyx 
needed for this before I'll close the #303 ticket.)

[1] http://hg.cython.org/cython/rev/11e826f95cde

-- 
Dag Sverre
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to