[Zope-Coders] Compiler package leaks fixed: Zope 2.6?
Guido van Rossum
guido@python.org
Fri, 30 Aug 2002 10:18:01 -0400
> 2.4.x and 2.5.x had the same problem, and people *did* notice,
> especially if Python happened to be running without cyclic garbage
> collection. Every time Zope compiles an expression, it creates dozens
> (sometimes thousands) of short-lived objects involved in circular
> references. And there are a lot of expressions.
>
> I think the risk is that if there are mistakes in the fix, attempting to
> compile certain expressions will raise an exception. But exceptions
> like that are easy to correct. The likelihood that the revised code
> will compile an expression differently from before or segfault is low.
I think a cautious approach would be to hold off. There *really* is
no reason for people to turn off Python's GC any more; it's on by
default. Unless you know better, I assume the people who turned off
GC didn't know what they were doing.
--Guido van Rossum (home page: http://www.python.org/~guido/)