[Python-Dev] cpython: fixd refleak

Christian Heimes christian at python.org
Thu Jun 13 23:39:49 CEST 2013

Am 13.06.2013 20:59, schrieb Antoine Pitrou:
> How about
>     return Py_BuildValue("NNNN", ofile_env, ofile, odir_env, odir);
> ?

Oh right, I forgot about 'N'. The PyArg_Parse*() methods don't have it.

Do you want me to modify the code to use Py_BuildValue()?


More information about the Python-Dev mailing list