[New-bugs-announce] [issue7647] Add statvfs flags to the posix module

Adam Jackson report at bugs.python.org
Wed Jan 6 21:18:41 CET 2010

New submission from Adam Jackson <ajax at redhat.com>:

Though the statvfs call exists in the posix module, the posix-defined values for the f_flag field are not.  This makes it hard to know whether a filesystem is readonly without also knowing the value for ST_READONLY on the machine you're running on.

Attached patch is against python2 svn, but probably applies to python3 too.

components: Extension Modules
files: posix-statvfs-symbols.patch
keywords: patch
messages: 97322
nosy: ajax at redhat.com
severity: normal
status: open
title: Add statvfs flags to the posix module
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file15764/posix-statvfs-symbols.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list