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
77c06fbf
Kaydet (Commit)
77c06fbf
authored
Kas 24, 2002
tarafından
Tim Peters
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Whitespace normalization.
üst
b808c5cf
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
13 additions
and
36 deletions
+13
-36
dbobj.py
Lib/bsddb/dbobj.py
+0
-1
dbshelve.py
Lib/bsddb/dbshelve.py
+0
-3
dbtables.py
Lib/bsddb/dbtables.py
+0
-1
dbutils.py
Lib/bsddb/dbutils.py
+0
-1
test_associate.py
Lib/bsddb/test/test_associate.py
+4
-4
test_basics.py
Lib/bsddb/test/test_basics.py
+0
-1
test_compat.py
Lib/bsddb/test/test_compat.py
+0
-2
test_dbobj.py
Lib/bsddb/test/test_dbobj.py
+0
-1
test_dbshelve.py
Lib/bsddb/test/test_dbshelve.py
+0
-2
test_dbtables.py
Lib/bsddb/test/test_dbtables.py
+1
-1
test_env_close.py
Lib/bsddb/test/test_env_close.py
+0
-2
test_get_none.py
Lib/bsddb/test/test_get_none.py
+0
-2
test_join.py
Lib/bsddb/test/test_join.py
+0
-2
test_recno.py
Lib/bsddb/test/test_recno.py
+0
-2
httplib.py
Lib/httplib.py
+1
-1
imaplib.py
Lib/imaplib.py
+2
-2
nntplib.py
Lib/nntplib.py
+0
-1
test_bsddb3.py
Lib/test/test_bsddb3.py
+0
-1
test_format.py
Lib/test/test_format.py
+4
-4
test_normalization.py
Lib/test/test_normalization.py
+1
-2
No files found.
Lib/bsddb/dbobj.py
Dosyayı görüntüle @
77c06fbf
...
...
@@ -175,4 +175,3 @@ class DB:
return
apply
(
self
.
_cobj
.
verify
,
args
,
kwargs
)
def
set_get_returns_none
(
self
,
*
args
,
**
kwargs
):
return
apply
(
self
.
_cobj
.
set_get_returns_none
,
args
,
kwargs
)
Lib/bsddb/dbshelve.py
Dosyayı görüntüle @
77c06fbf
...
...
@@ -286,6 +286,3 @@ class DBShelfCursor:
#---------------------------------------------------------------------------
Lib/bsddb/dbtables.py
Dosyayı görüntüle @
77c06fbf
...
...
@@ -627,4 +627,3 @@ class bsdTableDB :
if
txn
:
txn
.
abort
()
raise
TableDBError
,
dberror
[
1
]
Lib/bsddb/dbutils.py
Dosyayı görüntüle @
77c06fbf
...
...
@@ -72,4 +72,3 @@ def DeadlockWrap(function, *_args, **_kwargs):
#------------------------------------------------------------------------
Lib/bsddb/test/test_associate.py
Dosyayı görüntüle @
77c06fbf
...
...
@@ -248,10 +248,10 @@ class ShelveAssociateTestCase(AssociateTestCase):
class
ShelveAssociateHashTestCase
(
ShelveAssociateTestCase
):
dbtype
=
db
.
DB_HASH
dbtype
=
db
.
DB_HASH
class
ShelveAssociateBTreeTestCase
(
ShelveAssociateTestCase
):
dbtype
=
db
.
DB_BTREE
dbtype
=
db
.
DB_BTREE
class
ShelveAssociateRecnoTestCase
(
ShelveAssociateTestCase
):
dbtype
=
db
.
DB_RECNO
...
...
@@ -287,10 +287,10 @@ class ThreadedAssociateTestCase(AssociateTestCase):
class
ThreadedAssociateHashTestCase
(
ShelveAssociateTestCase
):
dbtype
=
db
.
DB_HASH
dbtype
=
db
.
DB_HASH
class
ThreadedAssociateBTreeTestCase
(
ShelveAssociateTestCase
):
dbtype
=
db
.
DB_BTREE
dbtype
=
db
.
DB_BTREE
class
ThreadedAssociateRecnoTestCase
(
ShelveAssociateTestCase
):
dbtype
=
db
.
DB_RECNO
...
...
Lib/bsddb/test/test_basics.py
Dosyayı görüntüle @
77c06fbf
...
...
@@ -811,4 +811,3 @@ def suite():
if
__name__
==
'__main__'
:
unittest
.
main
(
defaultTest
=
'suite'
)
Lib/bsddb/test/test_compat.py
Dosyayı görüntüle @
77c06fbf
...
...
@@ -165,5 +165,3 @@ def suite():
if
__name__
==
'__main__'
:
unittest
.
main
(
defaultTest
=
'suite'
)
Lib/bsddb/test/test_dbobj.py
Dosyayı görüntüle @
77c06fbf
...
...
@@ -69,4 +69,3 @@ def suite():
if
__name__
==
'__main__'
:
unittest
.
main
(
defaultTest
=
'suite'
)
Lib/bsddb/test/test_dbshelve.py
Dosyayı görüntüle @
77c06fbf
...
...
@@ -301,5 +301,3 @@ def suite():
if
__name__
==
'__main__'
:
unittest
.
main
(
defaultTest
=
'suite'
)
Lib/bsddb/test/test_dbtables.py
Dosyayı görüntüle @
77c06fbf
...
...
@@ -233,7 +233,7 @@ class TableDBTestCase(unittest.TestCase):
assert
len
(
values
)
==
1
,
values
assert
values
[
0
][
'd'
]
==
"is for dog"
,
values
assert
values
[
0
][
'a'
]
==
"is for aardvark"
,
values
def
test_Delete
(
self
):
tabname
=
"test_Delete"
self
.
tdb
.
CreateTable
(
tabname
,
[
'x'
,
'y'
,
'z'
])
...
...
Lib/bsddb/test/test_env_close.py
Dosyayı görüntüle @
77c06fbf
...
...
@@ -82,5 +82,3 @@ def suite():
if
__name__
==
'__main__'
:
unittest
.
main
(
defaultTest
=
'suite'
)
Lib/bsddb/test/test_get_none.py
Dosyayı görüntüle @
77c06fbf
...
...
@@ -94,5 +94,3 @@ def suite():
if
__name__
==
'__main__'
:
unittest
.
main
(
defaultTest
=
'suite'
)
Lib/bsddb/test/test_join.py
Dosyayı görüntüle @
77c06fbf
...
...
@@ -10,5 +10,3 @@ import unittest
from
bsddb
import
db
from
test.test_support
import
verbose
Lib/bsddb/test/test_recno.py
Dosyayı görüntüle @
77c06fbf
...
...
@@ -254,5 +254,3 @@ def suite():
if
__name__
==
'__main__'
:
unittest
.
main
(
defaultTest
=
'suite'
)
Lib/httplib.py
Dosyayı görüntüle @
77c06fbf
...
...
@@ -352,7 +352,7 @@ class HTTPResponse:
# For older HTTP, Keep-Alive indiciates persistent connection.
if
self
.
msg
.
getheader
(
'keep-alive'
):
return
False
# Proxy-Connection is a netscape hack.
pconn
=
self
.
msg
.
getheader
(
'proxy-connection'
)
if
pconn
and
pconn
.
lower
()
.
find
(
"keep-alive"
)
>=
0
:
...
...
Lib/imaplib.py
Dosyayı görüntüle @
77c06fbf
...
...
@@ -330,7 +330,7 @@ class IMAP4:
"""
mech
=
mechanism
.
upper
()
cap
=
'AUTH=
%
s'
%
mech
#if not cap in self.capabilities:
# Let the server decide!
#if not cap in self.capabilities:
# Let the server decide!
# raise self.error("Server doesn't allow %s authentication." % mech)
self
.
literal
=
_Authenticator
(
authobject
)
.
process
typ
,
dat
=
self
.
_simple_command
(
'AUTHENTICATE'
,
mech
)
...
...
@@ -1401,7 +1401,7 @@ if __name__ == '__main__':
else
:
M
=
IMAP4
(
host
)
if
M
.
state
==
'AUTH'
:
test_seq1
=
test_seq1
[
1
:]
# Login not needed
test_seq1
=
test_seq1
[
1
:]
# Login not needed
M
.
_mesg
(
'PROTOCOL_VERSION =
%
s'
%
M
.
PROTOCOL_VERSION
)
M
.
_mesg
(
'CAPABILITIES =
%
s'
%
`M.capabilities`
)
...
...
Lib/nntplib.py
Dosyayı görüntüle @
77c06fbf
...
...
@@ -590,4 +590,3 @@ if __name__ == '__main__':
print
"
%7
s
%
s"
%
item
resp
=
s
.
quit
()
print
resp
Lib/test/test_bsddb3.py
Dosyayı görüntüle @
77c06fbf
...
...
@@ -57,4 +57,3 @@ if __name__ == '__main__':
print
'-='
*
38
unittest
.
main
(
defaultTest
=
'suite'
)
Lib/test/test_format.py
Dosyayı görüntüle @
77c06fbf
...
...
@@ -221,13 +221,13 @@ if have_unicode:
test_exc
(
'
%
d'
,
'1'
,
TypeError
,
"int argument required"
)
test_exc
(
'
%
g'
,
'1'
,
TypeError
,
"float argument required"
)
test_exc
(
'no format'
,
'1'
,
TypeError
,
test_exc
(
'no format'
,
'1'
,
TypeError
,
"not all arguments converted during string formatting"
)
test_exc
(
'no format'
,
u'1'
,
TypeError
,
test_exc
(
'no format'
,
u'1'
,
TypeError
,
"not all arguments converted during string formatting"
)
test_exc
(
u'no format'
,
'1'
,
TypeError
,
test_exc
(
u'no format'
,
'1'
,
TypeError
,
"not all arguments converted during string formatting"
)
test_exc
(
u'no format'
,
u'1'
,
TypeError
,
test_exc
(
u'no format'
,
u'1'
,
TypeError
,
"not all arguments converted during string formatting"
)
if
sys
.
maxint
==
2
**
32
-
1
:
...
...
Lib/test/test_normalization.py
Dosyayı görüntüle @
77c06fbf
...
...
@@ -46,7 +46,7 @@ for line in data:
if
verbose
:
print
line
# Perform tests
verify
(
c2
==
NFC
(
c1
)
==
NFC
(
c2
)
==
NFC
(
c3
),
line
)
verify
(
c4
==
NFC
(
c4
)
==
NFC
(
c5
),
line
)
...
...
@@ -65,4 +65,3 @@ for c in range(sys.maxunicode+1):
if
X
in
part1_data
:
continue
assert
X
==
NFC
(
X
)
==
NFD
(
X
)
==
NFKC
(
X
)
==
NFKD
(
X
),
c
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