Nick Coghlan <[EMAIL PROTECTED]> added the comment:

A better option may be to append _tmp to the passed in token:

#define Py_CLEAR(op)                            \
        do {                                    \
                if (op) {                       \
                        PyObject *op##_tmp = (PyObject *)(op);  \
                        (op) = NULL;            \
                        Py_DECREF(op##_tmp);            \
                }                               \
        } while (0)

----------
nosy: +ncoghlan

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3274>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to