reading file contents to an array (newbie)

Christopher T King squirrel at WPI.EDU
Wed Jul 7 10:34:05 EDT 2004


On Wed, 7 Jul 2004, John Lenton wrote:

> PS: use mmap! it's not the '70s any more!

That's what GNU/HURD thought, and look where it got them ;)

(HURD mmap()s entire partitions, and thusly can't access partitions
greater than 2GB, or whatever the usable address space may be.)

I highly doubt one would reach that 2GB limit in day-to-day file accesses, 
though.




More information about the Python-list mailing list