Michael Chermside mcherm at
Fri Jun 10 22:00:26 CEST 2005

Siva writes:
> What is the type of
> os.lstat(fileName)[stat.ST_SIZE]. In python 2.0 I am getting it as int and
> in 2.3 it is long.

I don't know the answer to your question, but I *can* point out that
Python 2.0 was released in October 2000... nearly 5 years ago. I am
entirely unsurprised to learn that it doesn't handle file sizes larger
than MAXINT on your box... hardly any OS's allowed such a thing back
then. I recomend using a newer version... 2.4.1 is quite nice.

-- Michael Chermside

More information about the Python-list mailing list