[Pyrex] Bad code generation in Pyrex 0.9.4.1
Konrad Hinsen
konrad.hinsen at laposte.net
Thu Oct 5 16:45:27 UTC 2006
On Oct 5, 2006, at 0:27, Daniele Varrazzo wrote:
> Maybe the following patch fixes the problem. With the patch on,
> __pyx_v_result is assigned before __pyx_v_factor, so it is ready to
> be DECREF'd in case of __pyx_v_factor conversion failure.
It does fix my problem, and so far I didn't see any negative impact -
thanks for the patch!
> I wasn't be able to reproduce the segfault anyway - but the code was
> obviously wrong.
I got a segfault on a 64-bit Linux system, but not on the Mac (G4)
that is my main development machine.
Konrad.
More information about the Pyrex
mailing list