[Python-Dev] Mac OSX issues

Guido van Rossum guido@python.org
Thu, 28 Nov 2002 09:02:35 -0500

> > - test_largefile takes a *very* long time.  Perhaps it actually
> >   creates a truly large file (the Mac OSX filesystem is case
> >   insensitive, so I suppose it may be so different that it doesn't
> >   support files with holes in them).  Maybe the test should disable
> >   itself (or part of itself) unless a specific resource is requested?
> Do you mean that on other systems it does *not* create these gigantic 
> files??!? I've always wondered what the use was... Hmm, if this test 
> test support for files with holes, how come that Windows then doesn't 
> have the same problem as the Mac, it also doesn't support holes in 
> files, or does it?


# On Windows this test comsumes large resources; It takes a long time to build
# the >2GB file and takes >2GB of disk space therefore the resource must be
# enabled to run this test.  If not, nothing after this line stanza will be
# executed.
if sys.platform[:3] == 'win':
        'test requires %s bytes and a long time to run' % str(size))

--Guido van Rossum (home page: http://www.python.org/~guido/)