Python vs Java garbage collection?

Erik Max Francis max at alcyone.com
Sun Dec 22 22:54:15 EST 2002


Isaac To wrote:

> What if C-Python is the only thing I used and care?

Software tends to have a much longer lifetime and breadth than you first
expect.  One day you may find yourself in a situation where you wish you
hadn't been so short-sighted when you first wrote that code.

> And, you simply cannot
> say that's broken if I have no way to test it (how about a flag of
> Python to
> "disable garbage collection"?  Then one can reasonably test whether he
> is
> relying on the GC too much.).

Relying on a certain form of unspecified behavior is "broken," whether
or not it happens to work for you right here, right now.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ I want to know God's thought; the rest are details.
\__/ Albert Einstein
    WebVal / http://www.alcyone.com/pyos/webval/
 URL scanner, maintainer, and validator in Python.



More information about the Python-list mailing list