Message102602
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(). |
|
Date |
User |
Action |
Args |
2010-04-08 08:02:46 | ysj.ray | set | recipients:
+ ysj.ray, georg.brandl, amaury.forgeotdarc, Krauzi |
2010-04-08 08:02:46 | ysj.ray | set | messageid: <1270713766.43.0.935214434859.issue8336@psf.upfronthosting.co.za> |
2010-04-08 08:02:44 | ysj.ray | link | issue8336 messages |
2010-04-08 08:02:44 | ysj.ray | create | |
|