Python 2.0

Ron Klatchko ron at library.ucsf.edu
Mon Jun 7 20:10:31 EDT 1999


Yukihiro Matsumoto wrote:
> Well, OK.  I understand now.  Now only thing I can say is, why do you
> emphasize so much on reclaiming object at the time you exepcted?

Because it never hurts to release a resource as soon as you're done with
it and it can hurt to hold onto it longer then necessaary.  Think about
an object the implements a mutex, do you want to hold it until GC is
done?

moo
----------------------------------------------------------------------
          Ron Klatchko - Manager, Advanced Technology Group           
           UCSF Library and Center for Knowledge Management           
                        ron at library.ucsf.edu




More information about the Python-list mailing list