[Zodb-checkins] [Checkins] SVN: ZODB/trunk/src/ZODB/ As a small convenience (mainly for tests), you can now specify

Christian Theune ct at gocept.com
Fri Dec 19 08:33:50 EST 2008


On Fri, 2008-12-19 at 08:24 -0500, Jim Fulton wrote:
> The file will be garbage collected and closed immediately.  There are  
> no circular references to keep it around.  This is perfectly fine.
> 
> 
> > I wonder whether closing the file explicitly would be a good idea  
> > here.
> 
> 
> Some would argue that it would be hygenic, but I think it would just  
> clutter the code.

Yup. Just wanted to make sure we guarantee it's closed after exiting
that code path.

-- 
Christian Theune · ct at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zodb-checkins/attachments/20081219/3718ccb5/attachment.bin 


More information about the Zodb-checkins mailing list