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

Re: svn commit: r1156347 - /subversion/branches/fs-py/subversion/python/svn/fs.py

From: Greg Stein <gstein_at_gmail.com>
Date: Wed, 10 Aug 2011 17:34:21 -0400

On Wed, Aug 10, 2011 at 16:17, <hwright_at_apache.org> wrote:
> Author: hwright
> Date: Wed Aug 10 20:17:55 2011
> New Revision: 1156347
> URL: http://svn.apache.org/viewvc?rev=1156347&view=rev
> Log:
> On the fs-py branch:
> Explicitly close files in the Python module, per the Python docs.
> * subversion/python/svn/fs.py
>  (FS.set_uuid, FS._open_fs): Explicitly close a file, rather than just
>    letting it go out of scope.

Hunh? Which docs? This only makes sense if you're running in alternate
Python environments like Jython. CPython closes the file when the
refcount his zero.

I'm failing to see the reasoning here...

Received on 2011-08-10 23:34:50 CEST

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.