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
89f5d9cc
Kaydet (Commit)
89f5d9cc
authored
May 15, 2008
tarafından
Brett Cannon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Deprecate jpeg for IRIX for removal in 3.0.
üst
d8c41ecc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
1 deletion
+9
-1
jpeg.py
Lib/plat-irix5/jpeg.py
+3
-0
jpeg.py
Lib/plat-irix6/jpeg.py
+3
-0
test_py3kwarn.py
Lib/test/test_py3kwarn.py
+1
-1
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/plat-irix5/jpeg.py
Dosyayı görüntüle @
89f5d9cc
...
@@ -4,6 +4,9 @@
...
@@ -4,6 +4,9 @@
# XXX It appears that compressing grayscale images doesn't work right;
# XXX It appears that compressing grayscale images doesn't work right;
# XXX the resulting file causes weirdness.
# XXX the resulting file causes weirdness.
from
warnings
import
warnpy3k
warnpy3k
(
"the jpeg module has been removed in Python 3.0"
,
stacklevel
=
2
)
del
warnpy3k
class
error
(
Exception
):
class
error
(
Exception
):
pass
pass
...
...
Lib/plat-irix6/jpeg.py
Dosyayı görüntüle @
89f5d9cc
...
@@ -4,6 +4,9 @@
...
@@ -4,6 +4,9 @@
# XXX It appears that compressing grayscale images doesn't work right;
# XXX It appears that compressing grayscale images doesn't work right;
# XXX the resulting file causes weirdness.
# XXX the resulting file causes weirdness.
from
warnings
import
warnpy3k
warnpy3k
(
"the jpeg module has been removed in Python 3.0"
,
stacklevel
=
2
)
del
warnpy3k
class
error
(
Exception
):
class
error
(
Exception
):
pass
pass
...
...
Lib/test/test_py3kwarn.py
Dosyayı görüntüle @
89f5d9cc
...
@@ -135,7 +135,7 @@ class TestStdlibRemovals(unittest.TestCase):
...
@@ -135,7 +135,7 @@ class TestStdlibRemovals(unittest.TestCase):
'cdplayer'
,
'CL'
,
'cl'
,
'DEVICE'
,
'GL'
,
'cdplayer'
,
'CL'
,
'cl'
,
'DEVICE'
,
'GL'
,
'gl'
,
'ERRNO'
,
'FILE'
,
'FL'
,
'flp'
,
'fl'
,
'gl'
,
'ERRNO'
,
'FILE'
,
'FL'
,
'flp'
,
'fl'
,
'fm'
,
'GET'
,
'GLWS'
,
'imgfile'
,
'IN'
,
'fm'
,
'GET'
,
'GLWS'
,
'imgfile'
,
'IN'
,
'IOCTL'
),
'IOCTL'
,
'jpeg'
),
'darwin'
:
(
'autoGIL'
,
'Carbon'
,
'OSATerminology'
,
'darwin'
:
(
'autoGIL'
,
'Carbon'
,
'OSATerminology'
,
'icglue'
,
'Nav'
,
'MacOS'
,
'aepack'
,
'icglue'
,
'Nav'
,
'MacOS'
,
'aepack'
,
'aetools'
,
'aetypes'
,
'applesingle'
,
'aetools'
,
'aetypes'
,
'applesingle'
,
...
...
Misc/NEWS
Dosyayı görüntüle @
89f5d9cc
...
@@ -32,6 +32,8 @@ Extension Modules
...
@@ -32,6 +32,8 @@ Extension Modules
Library
Library
-------
-------
- The jpeg module from IRIX has been deprecated for removal in Python 3.0.
- The IOCTL module from IRIX has been deprecated for removal in Python 3.0.
- The IOCTL module from IRIX has been deprecated for removal in Python 3.0.
- The IN module from IRIX has been deprecated for removal in Python 3.0.
- The IN 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