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
fa40bbf6
Kaydet (Commit)
fa40bbf6
authored
May 16, 2008
tarafından
Brett Cannon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Deprecated statvfs for removal in 3.0.
üst
90f2cb42
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
1 deletion
+12
-1
statvfs.rst
Doc/library/statvfs.rst
+6
-0
statvfs.py
Lib/statvfs.py
+3
-0
test_py3kwarn.py
Lib/test/test_py3kwarn.py
+1
-1
NEWS
Misc/NEWS
+2
-0
No files found.
Doc/library/statvfs.rst
Dosyayı görüntüle @
fa40bbf6
...
@@ -3,6 +3,12 @@
...
@@ -3,6 +3,12 @@
.. module:: statvfs
.. module:: statvfs
:synopsis: Constants for interpreting the result of os.statvfs().
:synopsis: Constants for interpreting the result of os.statvfs().
:deprecated:
.. deprecated:: 2.6
The :mod:`statvfs` module has been deprecated for removal in Python 3.0.
.. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
.. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
...
...
Lib/statvfs.py
Dosyayı görüntüle @
fa40bbf6
"""Constants for interpreting the results of os.statvfs() and os.fstatvfs()."""
"""Constants for interpreting the results of os.statvfs() and os.fstatvfs()."""
from
warnings
import
warnpy3k
warnpy3k
(
"the statvfs module has been removed in Python 3.0"
,
stacklevel
=
2
)
del
warnpy3k
# Indices for statvfs struct members in the tuple returned by
# Indices for statvfs struct members in the tuple returned by
# os.statvfs() and os.fstatvfs().
# os.statvfs() and os.fstatvfs().
...
...
Lib/test/test_py3kwarn.py
Dosyayı görüntüle @
fa40bbf6
...
@@ -130,7 +130,7 @@ class TestStdlibRemovals(unittest.TestCase):
...
@@ -130,7 +130,7 @@ class TestStdlibRemovals(unittest.TestCase):
# import side-effect.
# import side-effect.
all_platforms
=
(
'audiodev'
,
'imputil'
,
'mutex'
,
'user'
,
'new'
,
'rexec'
,
all_platforms
=
(
'audiodev'
,
'imputil'
,
'mutex'
,
'user'
,
'new'
,
'rexec'
,
'Bastion'
,
'compiler'
,
'dircache'
,
'fpformat'
,
'Bastion'
,
'compiler'
,
'dircache'
,
'fpformat'
,
'ihooks'
,
'mhlib'
)
'ihooks'
,
'mhlib'
,
'statvfs'
)
inclusive_platforms
=
{
'irix'
:
(
'pure'
,
'AL'
,
'al'
,
'CD'
,
'cd'
,
'cddb'
,
inclusive_platforms
=
{
'irix'
:
(
'pure'
,
'AL'
,
'al'
,
'CD'
,
'cd'
,
'cddb'
,
'cdplayer'
,
'CL'
,
'cl'
,
'DEVICE'
,
'GL'
,
'cdplayer'
,
'CL'
,
'cl'
,
'DEVICE'
,
'GL'
,
'gl'
,
'ERRNO'
,
'FILE'
,
'FL'
,
'flp'
,
'fl'
,
'gl'
,
'ERRNO'
,
'FILE'
,
'FL'
,
'flp'
,
'fl'
,
...
...
Misc/NEWS
Dosyayı görüntüle @
fa40bbf6
...
@@ -37,6 +37,8 @@ Extension Modules
...
@@ -37,6 +37,8 @@ Extension Modules
Library
Library
-------
-------
- The statvfs module has been deprecated for removal in Python 3.0.
- The sunaudiodev and SUNAUDIODEV modules have been deprecated for removal in
- The sunaudiodev and SUNAUDIODEV modules have been deprecated for removal in
Python 3.0.
Python 3.0.
...
...
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