[Zope] Large file support in Python 2.1 ?

Felix Ulrich-Oltean felix@chaptereight.com
Fri, 8 Nov 2002 11:32:40 +0000


On Fri, Nov 08, 2002 at 12:50:35PM +0200, Jean Jordaan wrote:
> What I'd like to know is: what was done to compile that Python with
> LFS? 

I was reading this doc a couple of days back, and you might find the
first few paragraphs useful:

http://www.zope.org/Members/beacon/install_instructions

Specifically, it says you can check whether your python has LFS like
this:

  $ cd /somewhere_with_at_least_2.2G_of_space
  $ dd if=/dev/zero of=big_file_test bs=1024 count=2200000
  $ python
  >>> open("big_file_test")

If there's no "File too large" exception I think you're in the clear.

HTH,

Felix.