Stefan Behnel wrote:
> Lisandro Dalcin wrote:
>> +        for entry in env.default_entries:
>> +            if entry.type.is_pyobject and entry.used:
>> -                code.putln("Py_DECREF(%s); %s = 0;" % (
>> -                        code.entry_as_pyobject(entry), entry.cname))
>> +                code.put_var_decref_clear(entry)
>>
>> Please revert to my implementation (bare Py_DECREF and nullify), or
>> any other that does not break C compilation... IMHO, The module
>> cleanup function is not a place to play with refnanny. Moreover, the
>> module cleanup funcion is not refnanny-managed...

Ok, reverted.

Stefan

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

Reply via email to