[Zope] Zope and garbage collection

Dieter Maurer dieter at handshake.de
Sun Oct 19 13:13:51 EDT 2003


Ted holden wrote at 2003-10-18 09:54 -0400:
 > Having a user browse to a web page which involves a python 
 > object clearly creates the object.

In fact, lots of objects, usually.

 > What happens when the user either 
 > switches his browser to some other web site or turns off his modem?  Does 
 > that somehow delete the object and, if not, does the developer need to 
 > concern himself with garbage collection?  In other words, is garbage 
 > collection automatic with Zope?

That depends (if the created object is persistent, it will stay until
explicitly deleted) but in general you do not need to worry about
garbage collection.


Dieter



More information about the Zope mailing list