[New-bugs-announce] [issue41092] Report actual size from 'os.path.getsize'

Stephen Finucane 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)
messages: 372183
nosy: stephenfin
priority: normal
severity: normal
status: open
title: Report actual size from 'os.path.getsize'
type: enhancement
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41092>
_______________________________________


More information about the New-bugs-announce mailing list