Neal Norwitz wrote: >>Where are the Py_DECREFs done for the function arguments? > > > The original code path still handles the Py_DECREFs. > This is the while loop at the end of call_function(). Can you please elaborate? For METH_O and METH_ARGS, the arguments have already been popped off the stack, and the "What does this do" loop only pops off the function itself. So (without testing) methinks your code currently leaks references. Regards, Martin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4