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 ysj.ray
Recipients Krauzi, amaury.forgeotdarc, georg.brandl, ysj.ray
Date 2010-04-08.08:02:44
SpamBayes Score 4.6428356e-10
Marked as misclassified No
Message-id <1270713766.43.0.935214434859.issue8336@psf.upfronthosting.co.za>
In-reply-to
Content
Yes. I think if the argument object's reference count is increased because of the exception traceback or other cases, it has nothing to do with the PyObject_CallObject itself. Both of the Py_INCREF(arg) and Py_DECREF(arg) will always run once through the PyObject_CallObject() call. 
The “reference-count-neutral” means the code of PyObject_CallObject() itself can guarantee the "reference-count-neutral", but not include the callable called by PyObject_CallObject().
History
Date User Action Args
2010-04-08 08:02:46ysj.raysetrecipients: + ysj.ray, georg.brandl, amaury.forgeotdarc, Krauzi
2010-04-08 08:02:46ysj.raysetmessageid: <1270713766.43.0.935214434859.issue8336@psf.upfronthosting.co.za>
2010-04-08 08:02:44ysj.raylinkissue8336 messages
2010-04-08 08:02:44ysj.raycreate