[Python-checkins] r67907 - python/trunk/Modules/_testcapimodule.c

Benjamin Peterson musiccomposition at gmail.com
Mon Dec 22 23:42:48 CET 2008


On Mon, Dec 22, 2008 at 4:36 PM, "Martin v. Löwis" <martin at v.loewis.de> wrote:
>>    python/trunk/Modules/_testcapimodule.c
>> +     x = x;
>
> I thought there is a policy not to silence compiler warnings
> in such a way.

I wasn't aware of that policy. This is just a backport of a revision
in the py3k branch.

> I don't think there is a way to really test for this bug, but
> as a starting point, making x global should do the trick.

I don't understand the desirability of this over the current change.



-- 
Regards,
Benjamin Peterson


More information about the Python-checkins mailing list