[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

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

From: <gstein_at_lyra.org>
Date: 2003-01-24 18:55:16 CET

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
Received on Sat Oct 14 02:14:21 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.