You can probably find out by doing this: [chrism@beach test]$ python Python 2.2.3 (#1, Jul 28 2003, 12:56:56) [GCC 3.2 20020903 (Red Hat Linux 8.0 3.2-7)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
from test import test_largefile create large file via seek (may be sparse file) ... check file size with os.fstat 2500000001L =?= 2500000001L ... yes check file size with os.stat 2500000001L =?= 2500000001L ... yes play around with seek() and read() with the built largefile 0L =?= 0 ... yes 'z' =?= 'z' ... yes 1L =?= 1 ... yes ...
It will print an error message on failure or will print a bunch of useless stuff on success (as above). On Thu, 2003-10-23 at 15:13, Ausum Studio wrote:
Looking for a quick tip here: :)
Can I rely on current Python 2.1.3 RPMs or do I need to build it with the large_file option on, as in old releases?
Ausum
----- Original Message ----- From: "Max M" <maxm@mxm.dk> To: "Ausum Studio" <ausum_studio@hotmail.com> Cc: <zope@zope.org> Sent: Thursday, October 23, 2003 1:20 PM Subject: Re: [Zope] How to recover from the 2GB limit in Windows?
Ausum Studio wrote:
This is the error messages I get, causing a PANIC startup exception:
Depending on your setup, the "easiest" solutions might be to move it to a Linux install and then pack it there.
regards Max M
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )