[Python-Dev] Speed up function calls

"Martin v. Löwis" martin at v.loewis.de
Mon Jan 24 23:36:24 CET 2005


Neal Norwitz wrote:
> I would like feedback on whether the approach is desirable.

I'm probably missing something really essential, but...

Where are the Py_DECREFs done for the function arguments?

Also, changing PyArg_ParseTuple is likely incorrect.
Currently, chr/unichr expects float values; with your
change, I believe it won't anymore.

Apart from that, the change looks fine to me.

Regards,
Martin


More information about the Python-Dev mailing list