Garbage collection API

Aahz aahz at pythoncraft.com
Mon Feb 24 20:48:28 EST 2003


In article <SgEtqoIpxLV+Ew4C at objmedia.demon.co.uk>,
Stephen Kellett  <snail at objmedia.demon.co.uk> wrote:
>
>Python provides C APIs to the Profiler and Tracer/Coverage APIs.
>
>Java and .Net also provide APIs so that you are informed about garbage 
>collection activities (object created, moved, destroyed, gc started, gc 
>finished, force GC to happen). I can't find an API for this for Python.
>
>Is there and API for this? If not, is there going to be one in the 
>future?

Dunno whether there's a C API, but take a look at the gc module for
starters.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Register for PyCon now!  http://www.python.org/pycon/reg.html




More information about the Python-list mailing list