[Cython] segfault due to using DECREF instead of XDECREF
Victor Makarov
vitja.makarov at gmail.com
Wed Jan 29 18:35:42 CET 2014
2014/1/29 Stefan Behnel <stefan_ml at behnel.de>:
> Victor Makarov, 26.01.2014 20:15:
>> Fixed here https://github.com/cython/cython/commit/9f7256fd07961b912d2224d995533c821441381b
>
> Hmm, it's unfortunate that this needs to be disabled.
>
> I guess the correct way to eventually implement this would be by creating a
> new control flow block also for RHS of the BoolBinopNode, right?
>
I don't think it's a big deal because It only affects 'may be null'
variables that aren't common in python world.
OTOH it would be great to fix this. Easy way is to create a new CF
block for each reference. I'm not sure that BoolBinopNode is enough.
--
vitja.
More information about the cython-devel
mailing list