Staging
v0.5.1
https://github.com/python/cpython
Revision 0fc940a09ae6636e78f94ecf6436b8de14bd1c45 authored by Victor Stinner on 24 July 2017, 11:01:59 UTC, committed by GitHub on 24 July 2017, 11:01:59 UTC
bpo-30850: On Windows, test04_lock_timeout2() now tolerates 50 ms
whereas 100 ms is expected. The lock sometimes times out after only
58 ms. Windows clocks have a bad resolution and bad accuracy.
1 parent 123a58b
Raw File
Tip revision: 0fc940a09ae6636e78f94ecf6436b8de14bd1c45 authored by Victor Stinner on 24 July 2017, 11:01:59 UTC
test_bsddb3 tolerates smaller timeout on Windows (#2840)
Tip revision: 0fc940a
statvfs.rst
:mod:`statvfs` --- Constants used with :func:`os.statvfs`
=========================================================

.. module:: statvfs
   :synopsis: Constants for interpreting the result of os.statvfs().
   :deprecated:

.. deprecated:: 2.6
   The :mod:`statvfs` module has been removed in Python 3.


.. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>


The :mod:`statvfs` module defines constants so interpreting the result if
:func:`os.statvfs`, which returns a tuple, can be made without remembering
"magic numbers."  Each of the constants defined in this module is the *index* of
the entry in the tuple returned by :func:`os.statvfs` that contains the
specified information.


.. data:: F_BSIZE

   Preferred file system block size.


.. data:: F_FRSIZE

   Fundamental file system block size.


.. data:: F_BLOCKS

   Total number of blocks in the filesystem.


.. data:: F_BFREE

   Total number of free blocks.


.. data:: F_BAVAIL

   Free blocks available to non-super user.


.. data:: F_FILES

   Total number of file nodes.


.. data:: F_FFREE

   Total number of free file nodes.


.. data:: F_FAVAIL

   Free nodes available to non-super user.


.. data:: F_FLAG

   Flags. System dependent: see :c:func:`statvfs` man page.


.. data:: F_NAMEMAX

   Maximum file name length.

back to top