[Python-checkins] CVS: python/dist/src/Objects fileobject.c,2.121,2.122

Tim Peters tim.one@home.com
Mon, 10 Sep 2001 18:41:52 -0400


[Guido]
> (XXX This needs more testing.  I can't actually test that it works for
> files >4GB on my Win98 machine, because the filesystem here won't let
> me create files >=4GB at all.

[Tim]
> I'll check that on my home Win98SE box too (later).

On my Win98SE+FAT32 box, the largest size value for which test_largefile
completed without error was

    size = (1L << 32) - 2

Since test_largefile creates a file 1 byte larger than size, it's clear
we're restricted to files whose total size fits in an (MS) unsigned long.

Win2K+NTFS worked fine (albeit slowly) up to the limit of my free disk space
(~14GB).