You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Greg Stein gs...@lyra.org on 2003/01/24 17:55:16 UTC

[OT thread] Re: svn commit: rev 4552 - in trunk/subversion: include libsvn_wc libsvn_client tests/clients/cmdline

On Fri, Jan 24, 2003 at 07:53:49AM -0500, mark benedetto king wrote:
 On Fri, Jan 24, 2003 at 08:08:19AM +0100, Branko ?ibej wrote:
  It does? My, my, I think you'll have to go through all our Python
  scripts, and explicitly del() all objects that go out of scope to free
  them. Why rely on garbage collection, if it makes the programming feel
  crummy? :-)

hehe...  too true

 This is obviously OT, but Java programmers are effectively forced
 to explicitly close open files because the GC doesn't make any guarantees
 about when it will run (in practice, it runs when you run out of memory,
 which is long after you've run out of file descriptors).

Yup. Actually, Jython has this problem with Python file objects. If you
intend to run your program under Jython, then the absence of .close() can be
problematic. (yes, been burned by that one)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org