[Patches] GC infrastructure patch 2 (type changes)

Greg Stein gstein@lyra.org
Fri, 16 Jun 2000 14:25:52 -0700


On Fri, Jun 16, 2000 at 12:20:16PM -0600, Neil Schemenauer wrote:
> On Fri, Jun 16, 2000 at 03:56:29AM -0700, Greg Stein wrote:
> > On Thu, Jun 15, 2000 at 06:05:48AM +0300, Moshe Zadka wrote:
> > > What's wrong with defining Py_TPFLAGS_GC unconditionally?
> > 
> > Agreed, here. This is similar to the slots thing. Define it
> > unconditionally. It isn't like ANY other extension can ever use
> > that flag bit for anything else. That bit, from here on, means
> > "GC".
> 
> As I mentioned in another email, this is done so that extensions
> compiled with WITH_CYCLE_GC undefined will work with a GC enabled
> interpreter.  The bit always means GC.  When it is set it means
> that the object supports GC.  Does that make sense?

Good point. Please insert comments to that effect so that somebody doesn't
go and tweak that definition in the future :-)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/