[Python-checkins] CVS: python/dist/src/Lib/test test_largefile.py,1.7,1.8

Sjoerd Mullender sjoerd.mullender@oratrix.com
Thu, 06 Sep 2001 16:09:02 +0200


True.  And if you do write, it doesn't say that you are not allowed to
allocate blocks.  And that was what it was all about, I think.

On Thu, Sep 6 2001 "Fredrik Lundh" wrote:

> Sjoerd wrote:
> > > which means that issubclass(Irix, Unix) is false.
> >
> > That's nonsense.  Where in the definition of Unix does it say that file
> > systems are never allowed to allocate blocks when you seek past the end
> > of a file?
> 
> quoth the Single Unix Specification:
> 
>     Seek will allow the file offset to be set beyond the end of
>     the existing data in the file. If data is later written at this
>     point, subsequent reads of data in the gap will return bytes
>     with the value 0 until data is actually written into the gap.
>     Seek will not, by itself, extend the size of a file.
> 
> > It's one of the great things of modern Unices that you can (relatively)
> > easily plug in a different file system if you so desire.
> 
> as long as it behaves as it should, sure.
> 
> </F>
> 
> 
> 

-- Sjoerd Mullender <sjoerd.mullender@oratrix.com>