On 16 September 2011 22:03, Stefan Behnel <[email protected]> wrote:
> Robert Bradshaw, 15.09.2011 22:33:
>>
>> See http://wiki.cython.org/ReleaseNotes-0.15.1 This is a bugfix only
>> release, we hope to get it out shortly.
>
> I've added ticket 736 as a blocker, at least until I know what it takes to
> fix it (looking into it right now).
>
> http://trac.cython.org/cython_trac/ticket/736
>
> Stefan
> _______________________________________________
> cython-devel mailing list
> [email protected]
> http://mail.python.org/mailman/listinfo/cython-devel
>

Looking at the generated code I see


__pyx_cur_scope->__pyx_v_a = __pyx_k_1;
__pyx_cur_scope->__pyx_v_b = __pyx_k_2;

happening at unpacking time without a corresponding INCREF. Surely the
scope object should only ever own references and never borrow them?
The arguments from the args tuple are increffed however, just not the
default values.
_______________________________________________
cython-devel mailing list
[email protected]
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to