Python 2.0

Barry A. Warsaw bwarsaw at cnri.reston.va.us
Thu Jun 3 13:08:52 EDT 1999


>>>>> "DC" == Donn Cave <donn at u.washington.edu> writes:

    DC> Does JPython use reference counts, and invoke delete methods
    DC> as soon as reference count drops to 0?

JPython used to call __del__() when the Java object (PyInstance) was
finalized.  See my previous message on the subject for why this has
been commented out.  I don't believe __del__() is ever invoked now in
JPython.

-Barry




More information about the Python-list mailing list