[Python-Dev] Py_DECREF causes spurious gcc warning

Martin v. Löwis martin at v.loewis.de
Wed Dec 17 17:59:09 EST 2003

"Edward C. Jones" <edcjones at erols.com> writes:

> silly.c: In function `silly':
> silly.c:5: warning: suggest explicit braces to avoid ambiguous `else'
> I doubt if there is any bug in Py_DECREF. But would it be possible to
> jiggle the Py_DECREF macros to suppress this message?

It would be possible. Can you please submit a bug report? Or, better
yet, a patch?


More information about the Python-Dev mailing list