[Zope-dev] Zope Tests: 5 OK

2008-01-28 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Sun Jan 27 12:00:00 2008 UTC to Mon Jan 28 12:00:00 2008 UTC. There were 5 messages: 5 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.7 Python-2.3.6 : Linux From: Zope Unit Tests Date: Sun Jan 27 21:00:03 EST 2008 URL

RE: [Zope-dev] FileUpload and blob on Windows

2008-01-28 Thread Mark Hammond
Hi Leo, I'm not familiar with the Zope side of the world at all, so this may be completely useless... > However, if one tries to consume a NamedTemporaryFile and then open its > generated blob before closing the tempfile, Windows complains: > > > > import ZODB.blob, tempfile > f = t

RE: [Zope-dev] FileUpload and blob on Windows

2008-01-28 Thread Leonardo Rochael
Hi Mark, Mark Hammond-3 wrote: > > [...] >> unless we use some non-portable win32 code to allow writing and >> reading to the same file simultaneously. > > I'm not sure exactly what you mean by "simultaneously", but assuming you > just need the ability to read and write to a file, you already

AW: [Zope-dev] FileUpload and blob on Windows

2008-01-28 Thread Roger Ineichen
Hi > Betreff: RE: [Zope-dev] FileUpload and blob on Windows > > > Hi Mark, > > > Mark Hammond-3 wrote: > > > > [...] > >> unless we use some non-portable win32 code to allow writing and > >> reading to the same file simultaneously. > > > > I'm not sure exactly what you mean by "simultaneou

Re: [Zope-dev] FileUpload and blob on Windows

2008-01-28 Thread Christian Theune
Hi, Leonardo Rochael schrieb: I should've been clearer, I meant reading and writing at the same time from 2 different file handles. NamedTemporaryFile has the added complication of removing the file from under 'blob' when it's closed, so even if I don't try to open the blob after consuming th