[New-bugs-announce] [issue41092] Report actual size from 'os.path.getsize'
report at bugs.python.org
Tue Jun 23 12:44:46 EDT 2020
New submission from Stephen Finucane <stephenfinucane at hotmail.com>:
The 'os.path.getsize' API returns the apparent size of the file at *path*, that is, the number of bytes the file reports itself as consuming. However, it's often useful to get the actual size of the file, or the size of file on disk. It would be helpful if one could get this same information from 'os.path.getsize'.
components: Library (Lib)
title: Report actual size from 'os.path.getsize'
versions: Python 3.10
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce