Sivakumar Bhaskarapanditha Sivakumar.Bhaskarapanditha at
Fri Jun 10 14:33:42 EDT 2005



I need your help in this. 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. Because it is an int in 2.0 the file size reported is
negative for file sizes > INT_MAX. Do you know if this is a bug in 2.0. Are
there other ways of getting file sizes. In 2.3 everything is alright. 


Any help in this matter will be greatly appreciated.


Best regards,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list