Python vs Java garbage collection?

"Martin v. Löwis" martin at v.loewis.de
Mon Dec 23 02:34:46 EST 2002


Erik Max Francis wrote:
> It's broken in that it may exhibit unexpected, pathological, and awful
> behavior on other Python interpreters.  Python is a language; CPython
> (and Jython) are particular implementations.  Write to the language, not
> a particular implementation.

It's not that there are hundreds of alternative Python implementations 
out there. There are precisely two implementations, and that's why the 
language definition makes explicitly no guarantee as to when the 
finalizers are called. If you were just to use what the language 
definition guarantees you, you could not write a single useful application.

Regards,
Martin





More information about the Python-list mailing list