Neil Schemenauer's GC patch in python1.6?

Andrew Kuchling akuchlin at mems-exchange.org
Fri Jul 14 13:07:57 EDT 2000


Norman Shelley <Norman_Shelley-RRDN60 at email.sps.mot.com> writes:
> Is Neil Schemenauer's GC patch scheduled to be in python1.6?

Yes, though whoever compiles Python will have the option to include it
or not, through an argument to the configure script.  Currently in the
CVS tree, GC is turned on by default, and you can turn it off by
specifying --without-cycle-gc.  No one knows if it'll default to on or
off in the final 2.0 release; that depends on how much a performance
cost is incurred, and how stable the code proves to be.

>Having to design programs and
> algorithms with reference counting in mind is just as bad as having to
> remember to remember to use free() when in C or C++.

No it's not; you don't have to worry about things that can't
participate in cycles, such as strings for example, but in C you'd
have to carefully handle allocation for them, too.  

--amk



More information about the Python-list mailing list