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
83ff7498
Kaydet (Commit)
83ff7498
authored
Şub 09, 2001
tarafından
Eric S. Raymond
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
String method conversion.
üst
2846b0ab
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
10 deletions
+6
-10
test_socket.py
Lib/test/test_socket.py
+1
-2
test_strftime.py
Lib/test/test_strftime.py
+2
-2
test_zlib.py
Lib/test/test_zlib.py
+2
-3
__init__.py
Lib/xml/__init__.py
+1
-3
No files found.
Lib/test/test_socket.py
Dosyayı görüntüle @
83ff7498
...
@@ -12,7 +12,6 @@ from test_support import verbose, TestFailed
...
@@ -12,7 +12,6 @@ from test_support import verbose, TestFailed
import
socket
import
socket
import
os
import
os
import
time
import
time
import
string
def
missing_ok
(
str
):
def
missing_ok
(
str
):
try
:
try
:
...
@@ -79,7 +78,7 @@ if verbose:
...
@@ -79,7 +78,7 @@ if verbose:
print
all_host_names
print
all_host_names
for
name
in
all_host_names
:
for
name
in
all_host_names
:
if
string
.
find
(
name
,
'.'
):
if
name
.
find
(
'.'
):
break
break
else
:
else
:
print
'FQDN not found'
print
'FQDN not found'
...
...
Lib/test/test_strftime.py
Dosyayı görüntüle @
83ff7498
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# Sanity checker for time.strftime
# Sanity checker for time.strftime
import
time
,
calendar
,
sys
,
string
,
os
,
re
import
time
,
calendar
,
sys
,
os
,
re
from
test_support
import
verbose
from
test_support
import
verbose
def
main
():
def
main
():
...
@@ -90,7 +90,7 @@ def strftest(now):
...
@@ -90,7 +90,7 @@ def strftest(now):
if
verbose
:
if
verbose
:
print
"Strftime test, platform:
%
s, Python version:
%
s"
%
\
print
"Strftime test, platform:
%
s, Python version:
%
s"
%
\
(
sys
.
platform
,
s
tring
.
split
(
sys
.
version
)[
0
])
(
sys
.
platform
,
s
ys
.
version
.
split
(
)[
0
])
for
e
in
expectations
:
for
e
in
expectations
:
try
:
try
:
...
...
Lib/test/test_zlib.py
Dosyayı görüntüle @
83ff7498
import
zlib
import
zlib
import
sys
import
sys
import
imp
import
imp
import
string
try
:
try
:
t
=
imp
.
find_module
(
'test_zlib'
)
t
=
imp
.
find_module
(
'test_zlib'
)
...
@@ -57,7 +56,7 @@ bufs = []
...
@@ -57,7 +56,7 @@ bufs = []
for
i
in
range
(
0
,
len
(
buf
),
256
):
for
i
in
range
(
0
,
len
(
buf
),
256
):
bufs
.
append
(
co
.
compress
(
buf
[
i
:
i
+
256
]))
bufs
.
append
(
co
.
compress
(
buf
[
i
:
i
+
256
]))
bufs
.
append
(
co
.
flush
())
bufs
.
append
(
co
.
flush
())
combuf
=
string
.
join
(
bufs
,
''
)
combuf
=
''
.
join
(
bufs
)
decomp1
=
zlib
.
decompress
(
combuf
,
-
12
,
-
5
)
decomp1
=
zlib
.
decompress
(
combuf
,
-
12
,
-
5
)
if
decomp1
!=
buf
:
if
decomp1
!=
buf
:
...
@@ -70,7 +69,7 @@ bufs = []
...
@@ -70,7 +69,7 @@ bufs = []
for
i
in
range
(
0
,
len
(
combuf
),
128
):
for
i
in
range
(
0
,
len
(
combuf
),
128
):
bufs
.
append
(
deco
.
decompress
(
combuf
[
i
:
i
+
128
]))
bufs
.
append
(
deco
.
decompress
(
combuf
[
i
:
i
+
128
]))
bufs
.
append
(
deco
.
flush
())
bufs
.
append
(
deco
.
flush
())
decomp2
=
string
.
join
(
buf
,
''
)
decomp2
=
''
.
join
(
buf
)
if
decomp2
!=
buf
:
if
decomp2
!=
buf
:
print
"decompressobj with init options failed"
print
"decompressobj with init options failed"
else
:
else
:
...
...
Lib/xml/__init__.py
Dosyayı görüntüle @
83ff7498
...
@@ -15,9 +15,7 @@ sax -- The Simple API for XML, developed by XML-Dev, led by David
...
@@ -15,9 +15,7 @@ sax -- The Simple API for XML, developed by XML-Dev, led by David
__all__
=
[
"dom"
,
"parsers"
,
"sax"
]
__all__
=
[
"dom"
,
"parsers"
,
"sax"
]
import
string
__version__
=
"$Revision$"
.
split
()[
1
]
__version__
=
string
.
split
(
"$Revision$"
)[
1
]
del
string
_MINIMUM_XMLPLUS_VERSION
=
(
0
,
6
,
1
)
_MINIMUM_XMLPLUS_VERSION
=
(
0
,
6
,
1
)
...
...
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