On Aug 25, 2008, at 12:50 PM, Simon Burton wrote:

> Here is foo.pyx :
>
>
> tank = {}
>
> def set(long long ob, val):
>     tank[ob] = val
>
> def get(ob):
>     return tank.get(ob)
>
>
>
> The set function is broken for values bigger than 32 bits (running  
> on 32 bit machine).
>
> This worked for Cython version 0.9.6.12
> Looks like it is the __Pyx_SetItemInt function... Source attached.

Yep, that's exactly what the problem was. Fix up at http:// 
hg.cython.org/cython/rev/f58bacff008d

- Robert

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

Reply via email to