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
def00384
Kaydet (Commit)
def00384
authored
Agu 18, 2000
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Convert some old-style string exceptions to class exceptions.
üst
b65b0065
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
20 additions
and
10 deletions
+20
-10
flp.py
Lib/plat-irix5/flp.py
+2
-1
jpeg.py
Lib/plat-irix5/jpeg.py
+2
-1
readcd.py
Lib/plat-irix5/readcd.py
+4
-2
torgb.py
Lib/plat-irix5/torgb.py
+2
-1
flp.py
Lib/plat-irix6/flp.py
+2
-1
jpeg.py
Lib/plat-irix6/jpeg.py
+2
-1
readcd.py
Lib/plat-irix6/readcd.py
+4
-2
torgb.py
Lib/plat-irix6/torgb.py
+2
-1
No files found.
Lib/plat-irix5/flp.py
Dosyayı görüntüle @
def00384
...
...
@@ -12,7 +12,8 @@ SPLITLINE = '--------------------'
FORMLINE
=
'=============== FORM ==============='
ENDLINE
=
'=============================='
error
=
'flp.error'
class
error
(
Exception
):
pass
##################################################################
# Part 1 - The parsing routines #
...
...
Lib/plat-irix5/jpeg.py
Dosyayı görüntüle @
def00384
...
...
@@ -5,7 +5,8 @@
# XXX It appears that compressing grayscale images doesn't work right;
# XXX the resulting file causes weirdness.
error
=
'jpeg.error'
# Exception
class
error
(
Exception
):
pass
options
=
{
'quality'
:
75
,
'optimize'
:
0
,
'smooth'
:
0
,
'forcegray'
:
0
}
...
...
Lib/plat-irix5/readcd.py
Dosyayı görüntüle @
def00384
...
...
@@ -2,8 +2,10 @@
import
cd
,
CD
Error
=
'Readcd.Error'
_Stop
=
'Readcd.Stop'
class
Error
(
Exception
):
pass
class
_Stop
(
Exception
):
pass
def
_doatime
(
self
,
cb_type
,
data
):
if
((
data
[
0
]
*
60
)
+
data
[
1
])
*
75
+
data
[
2
]
>
self
.
end
:
...
...
Lib/plat-irix5/torgb.py
Dosyayı görüntüle @
def00384
...
...
@@ -50,7 +50,8 @@ uncompress = pipes.Template()
uncompress
.
append
(
'uncompress'
,
'--'
)
error
=
'torgb.error'
# Exception
class
error
(
Exception
):
pass
def
torgb
(
filename
):
temps
=
[]
...
...
Lib/plat-irix6/flp.py
Dosyayı görüntüle @
def00384
...
...
@@ -12,7 +12,8 @@ SPLITLINE = '--------------------'
FORMLINE
=
'=============== FORM ==============='
ENDLINE
=
'=============================='
error
=
'flp.error'
class
error
(
Exception
):
pass
##################################################################
# Part 1 - The parsing routines #
...
...
Lib/plat-irix6/jpeg.py
Dosyayı görüntüle @
def00384
...
...
@@ -5,7 +5,8 @@
# XXX It appears that compressing grayscale images doesn't work right;
# XXX the resulting file causes weirdness.
error
=
'jpeg.error'
# Exception
class
error
(
Exception
):
pass
options
=
{
'quality'
:
75
,
'optimize'
:
0
,
'smooth'
:
0
,
'forcegray'
:
0
}
...
...
Lib/plat-irix6/readcd.py
Dosyayı görüntüle @
def00384
...
...
@@ -2,8 +2,10 @@
import
cd
,
CD
Error
=
'Readcd.Error'
_Stop
=
'Readcd.Stop'
class
Error
(
Exception
):
pass
class
_Stop
(
Exception
):
pass
def
_doatime
(
self
,
cb_type
,
data
):
if
((
data
[
0
]
*
60
)
+
data
[
1
])
*
75
+
data
[
2
]
>
self
.
end
:
...
...
Lib/plat-irix6/torgb.py
Dosyayı görüntüle @
def00384
...
...
@@ -50,7 +50,8 @@ uncompress = pipes.Template()
uncompress
.
append
(
'uncompress'
,
'--'
)
error
=
'torgb.error'
# Exception
class
error
(
Exception
):
pass
def
torgb
(
filename
):
temps
=
[]
...
...
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