This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients ncoghlan, stutzbach
Date 2008-07-10.10:11:07
SpamBayes Score 0.045961894
Marked as misclassified No
Message-id <1215684667.96.0.370949188366.issue3274@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2008-07-10 10:11:08ncoghlansetspambayes_score: 0.0459619 -> 0.045961894
recipients: + ncoghlan, stutzbach
2008-07-10 10:11:08ncoghlansetspambayes_score: 0.0459619 -> 0.0459619
messageid: <1215684667.96.0.370949188366.issue3274@psf.upfronthosting.co.za>
2008-07-10 10:11:07ncoghlanlinkissue3274 messages
2008-07-10 10:11:07ncoghlancreate