No destructor

Neil Schemenauer nascheme at enme.ucalgary.ca
Wed Aug 23 21:05:04 EDT 2000


Ken Kinder <kkinder at tridog.com> wrote:
>Actually, there is a patch for a Python garbage collector:
>http://www.enme.ucalgary.ca/~nascheme/python/gc.html
>
>It's not part of the standard Python distribution, but if you
>apply the patch it works pretty well. It does break things like
>
>txt = open('foo').read()

It shouldn't unless there is a bug.  Both patches on that page
don't remove reference counting.  Removing reference counting
actually slows Python down rather than speeding it up.
 
  nas



More information about the Python-list mailing list