Hi,

 

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,

Siva

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to