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
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to