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 ddorfman
Recipients
Date 2004-09-01.05:33:01
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Py_CLEAR assigns its argument to a PyObject pointer without
a cast. This causes a warning if the argument is PyObject-
compatible but not actually a PyObject. The other reference
counting macros accept non-PyObjects without a cast by the
user, so Py_CLEAR should too.

The patch is hard to read since it realigns the backslashes
on the macro. diff -b (ignore whitespace) is good in these
cases.
History
Date User Action Args
2007-08-23 15:39:39adminlinkissue1020185 messages
2007-08-23 15:39:39admincreate