[pypy-dev] Re: GC problems with PyObject

Michael Hudson mwh at python.net
Wed Mar 22 10:58:31 CET 2006


Christian Tismer <tismer at stackless.com> writes:

> Hi PyPy-dev!
>
> I spent the last two days hunting refcounting problems
> with pypy generated extension modules.
>
> After infinitely long staring at the final flow graphs,
> I found out that our transition to the gctransform
> is not as complete as I assumed. Impossible too find
> by flow graphs, because we are still chiming extra increfs
> in from the backend, see funcgen.py .

Ow!

> I tried to solve this by disabling all the extra increfs,
> but this doesn't work, yet. Something else must be adjusted.

What doesn't work?  I changed NEED_OLD_EXTRA_REFS to False and the c
tests still run fine.

Cheers,
mwh

-- 
  I'm not particularly fond of singing GSTQ because she stands for
  some things I don't, but it's not really worth letting politics
  getting in the way of a good bawling.     -- Dan Sheppard, ucam.chat




More information about the Pypy-dev mailing list