Re: [Python-Dev] cpython: fixd refleak

2013-06-13 Thread Antoine Pitrou
On Thu, 13 Jun 2013 23:39:49 +0200 Christian Heimes wrote: > Am 13.06.2013 20:59, schrieb Antoine Pitrou: > > How about > > > > return Py_BuildValue("", ofile_env, ofile, odir_env, odir); > > > > ? > > Oh right, I forgot about 'N'. The PyArg_Parse*() methods don't have it. > > Do you w

Re: [Python-Dev] cpython: fixd refleak

2013-06-13 Thread Christian Heimes
Am 13.06.2013 20:59, schrieb Antoine Pitrou: > How about > > return Py_BuildValue("", 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()? Christian ___

Re: [Python-Dev] cpython: fixd refleak

2013-06-13 Thread Antoine Pitrou
On Mon, 10 Jun 2013 10:47:28 +0200 (CEST) christian.heimes wrote: > http://hg.python.org/cpython/rev/6860263c05b3 > changeset: 84077:6860263c05b3 > user:Christian Heimes > date:Mon Jun 10 10:47:22 2013 +0200 > summary: > fixd refleak > [...] > -return Py_BuildValue("(