On Wed, 27 Sep 2000, D-Man wrote:

> 
> What if Python switched to gc instead of ref counting?
> 
> I have heard of a good gc freely available for C/C++ written by Hans Boehm. 
> >From what I've read it works about as good as the malloc/free implementations, but
> without the developer's headaches with memory leaks.  
> 
> The intire interpreter, not just the python code, could use the collector to
> make memory management easier.  Then you wouldn't have these problems with the
> callbacks and the ref count.

There is almost no chance of adding another GC to the mix for pygtk.  Both
python and gtk do reference counted garbage collection.  The objects in
question are python objects, so are using reference counting already, and
there is no way to change that.

> 
> -D

James.

-- 
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/



_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to