Issue 991883: PyObject_CallMethod docs unclear (with dangerous results) (original) (raw)
Issue991883
Created on 2004-07-15 20:40 by itamar, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (2) | ||
---|---|---|
msg21639 - (view) | Author: Itamar Shtull-Trauring (itamar) | Date: 2004-07-15 20:40 |
PyObject_CallMethod doesn't make clear that passing a tuple of args is the correct way to use it. While it does work when you don't pass a tuple, this causes memory leak - the objects passed in get extra incref, AFAICT, so it's worth emphasizing the correct API. | ||
msg21640 - (view) | Author: A.M. Kuchling (akuchling) * ![]() |
Date: 2004-08-07 17:54 |
Logged In: YES user_id=11375 Mentioned in the documentation now; thanks! |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:05 | admin | set | github: 40576 |
2004-07-15 20:40:25 | itamar | create |