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
f56b6aeb
Kaydet (Commit)
f56b6aeb
authored
May 15, 2008
tarafından
Brett Cannon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Deprecated torgb for removal in 3.0.
üst
518c5da2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
1 deletion
+9
-1
torgb.py
Lib/plat-irix5/torgb.py
+3
-0
torgb.py
Lib/plat-irix6/torgb.py
+3
-0
test_py3kwarn.py
Lib/test/test_py3kwarn.py
+1
-1
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/plat-irix5/torgb.py
Dosyayı görüntüle @
f56b6aeb
...
...
@@ -5,6 +5,9 @@
# Returned filename is either the input filename or a temporary filename;
# in the latter case the caller must ensure that it is removed.
# Other temporary files used are removed by the function.
from
warnings
import
warnpy3k
warnpy3k
(
"the torgb module has been removed in Python 3.0"
,
stacklevel
=
2
)
del
warnpy3k
import
os
import
tempfile
...
...
Lib/plat-irix6/torgb.py
Dosyayı görüntüle @
f56b6aeb
...
...
@@ -5,6 +5,9 @@
# Returned filename is either the input filename or a temporary filename;
# in the latter case the caller must ensure that it is removed.
# Other temporary files used are removed by the function.
from
warnings
import
warnpy3k
warnpy3k
(
"the torgb module has been removed in Python 3.0"
,
stacklevel
=
2
)
del
warnpy3k
import
os
import
tempfile
...
...
Lib/test/test_py3kwarn.py
Dosyayı görüntüle @
f56b6aeb
...
...
@@ -136,7 +136,7 @@ class TestStdlibRemovals(unittest.TestCase):
'gl'
,
'ERRNO'
,
'FILE'
,
'FL'
,
'flp'
,
'fl'
,
'fm'
,
'GET'
,
'GLWS'
,
'imgfile'
,
'IN'
,
'IOCTL'
,
'jpeg'
,
'panel'
,
'panelparser'
,
'readcd'
,
'SV'
),
'readcd'
,
'SV'
,
'torgb'
),
'darwin'
:
(
'autoGIL'
,
'Carbon'
,
'OSATerminology'
,
'icglue'
,
'Nav'
,
'MacOS'
,
'aepack'
,
'aetools'
,
'aetypes'
,
'applesingle'
,
...
...
Misc/NEWS
Dosyayı görüntüle @
f56b6aeb
...
...
@@ -32,6 +32,8 @@ Extension Modules
Library
-------
- The torgb module from IRIX has been deprecated for removal in Python 3.0.
- The SV module from IRIX has been deprecated for removal in Python 3.0.
- The readcd module from IRIX has been deprecated for removal in 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