A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2005-January/051266.html below:

[Python-Dev] Speed up function calls

[Python-Dev] Speed up function calls [Python-Dev] Speed up function calls"Martin v. Löwis" martin at v.loewis.de
Tue Jan 25 00:30:44 CET 2005
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
More information about the Python-Dev mailing list

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