Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
acbb7865
Kaydet (Commit)
acbb7865
authored
May 16, 2008
tarafından
Brett Cannon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove the statvfs module.
üst
8ae3e055
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
2 additions
and
90 deletions
+2
-90
filesys.rst
Doc/library/filesys.rst
+0
-1
os.rst
Doc/library/os.rst
+0
-9
statvfs.rst
Doc/library/statvfs.rst
+0
-64
statvfs.py
Lib/statvfs.py
+0
-15
test_sundry.py
Lib/test/test_sundry.py
+0
-1
NEWS
Misc/NEWS
+2
-0
No files found.
Doc/library/filesys.rst
Dosyayı görüntüle @
acbb7865
...
...
@@ -16,7 +16,6 @@ in this chapter is:
os.path.rst
fileinput.rst
stat.rst
statvfs.rst
filecmp.rst
tempfile.rst
glob.rst
...
...
Doc/library/os.rst
Dosyayı görüntüle @
acbb7865
...
...
@@ -1074,15 +1074,6 @@ Files and Directories
:attr:`f_bavail`, :attr:`f_files`, :attr:`f_ffree`, :attr:`f_favail`,
:attr:`f_flag`, :attr:`f_namemax`. Availability: Unix.
.. index:: module: statvfs
For backward compatibility, the return value is also accessible as a tuple whose
values correspond to the attributes, in the order given above. The standard
module :mod:`statvfs` defines constants that are useful for extracting
information from a :ctype:`statvfs` structure when accessing it as a sequence;
this remains useful when writing code that needs to work with versions of Python
that don't support accessing the fields as attributes.
.. function:: symlink(src, dst)
...
...
Doc/library/statvfs.rst
deleted
100644 → 0
Dosyayı görüntüle @
8ae3e055
:mod:`statvfs` --- Constants used with :func:`os.statvfs`
=========================================================
.. module:: statvfs
:synopsis: Constants for interpreting the result of os.statvfs().
.. 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 :cfunc:`statvfs` man page.
.. data:: F_NAMEMAX
Maximum file name length.
Lib/statvfs.py
deleted
100644 → 0
Dosyayı görüntüle @
8ae3e055
"""Constants for interpreting the results of os.statvfs() and os.fstatvfs()."""
# Indices for statvfs struct members in the tuple returned by
# os.statvfs() and os.fstatvfs().
F_BSIZE
=
0
# Preferred file system block size
F_FRSIZE
=
1
# Fundamental file system block size
F_BLOCKS
=
2
# Total number of file system blocks (FRSIZE)
F_BFREE
=
3
# Total number of free blocks
F_BAVAIL
=
4
# Free blocks available to non-superuser
F_FILES
=
5
# Total number of file nodes
F_FFREE
=
6
# Total number of free file nodes
F_FAVAIL
=
7
# Free nodes available to non-superuser
F_FLAG
=
8
# Flags (see your local statvfs man page)
F_NAMEMAX
=
9
# Maximum file name length
Lib/test/test_sundry.py
Dosyayı görüntüle @
acbb7865
...
...
@@ -64,7 +64,6 @@ class TestUntestedModules(unittest.TestCase):
import
rlcompleter
import
sched
import
sndhdr
import
statvfs
import
sunau
import
sunaudio
import
symbol
...
...
Misc/NEWS
Dosyayı görüntüle @
acbb7865
...
...
@@ -28,6 +28,8 @@ Extension Modules
Library
-------
- The statvfs module has been removed.
- #2250: Exceptions raised during evaluation of names in rlcompleter's
``Completer.complete()`` method are now caught and ignored.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment