On Tue, 2008-10-14 at 10:09 -0500, Alan Runyan wrote:
> Hi guys.
> At the plone sprint we started reviewing some code that uses Blob.
> The code that we reviewed is working in production although I wanted
> to be clear about the expected usage of Blob.
> ZODB/tests/blob_consume.txt
> says that you *must* close a file before calling consumeFile().  It seems
> the current Plone Blob implementation *does not close the file* before
> calling consumeFile.  And all appears to be working.
> Why must the file be closed before calling consumeFile?
> And would you go as far as saying that if you *do not close* the file
> before calling consumeFile - all bets are off.  You are not using Blob
> as intended?
You're definitely not going to be able to work on Windows, which is the
source of the requirements to close handles before moving/deleting

Christian Theune · [EMAIL PROTECTED]
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

Attachment: signature.asc
Description: This is a digitally signed message part

For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to