New submission from Adam Jackson <a...@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: a...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue7647> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com