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.

classification
Title: Specify new reference return value for PyObject_Call
Type: Stage:
Components: Documentation Versions: Python 2.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: effbot Nosy List: effbot, farshizzo
Priority: normal Keywords: patch

Created on 2005-12-17 04:02 by farshizzo, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
object.html farshizzo, 2005-12-17 04:02
Messages (2)
msg49212 - (view) Author: Farshid Lashkari (farshizzo) Date: 2005-12-17 04:02
Hi,

From my understanding, the C API function PyObject_Call
returns a new reference, but the documentation does not
specify this. I've attached a modified version of the
appropriate doc page.
msg49213 - (view) Author: Fredrik Lundh (effbot) * (Python committer) Date: 2005-12-18 19:41
Logged In: YES 
user_id=38376

PyObject_Call has the same behaviour as the other
PyObject_CallXXX functions.  I've updated the ref-
count documentation.

Thanks /F
History
Date User Action Args
2022-04-11 14:56:14adminsetgithub: 42706
2005-12-17 04:02:33farshizzocreate