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
af5e29a7
Kaydet (Commit)
af5e29a7
authored
Ara 19, 2012
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
merge heads
üst
fc8f5c5e
fd43b4d3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
pkgutil.py
Lib/pkgutil.py
+1
-1
test_urllib2.py
Lib/test/test_urllib2.py
+1
-1
test_winreg.py
Lib/test/test_winreg.py
+1
-1
No files found.
Lib/pkgutil.py
Dosyayı görüntüle @
af5e29a7
...
...
@@ -503,7 +503,7 @@ def find_loader(fullname):
except
(
ImportError
,
AttributeError
,
TypeError
,
ValueError
)
as
ex
:
# This hack fixes an impedance mismatch between pkgutil and
# importlib, where the latter raises other errors for cases where
# pkgutil previously
threw
ImportError
# pkgutil previously
raised
ImportError
msg
=
"Error while finding loader for {!r} ({}: {})"
raise
ImportError
(
msg
.
format
(
fullname
,
type
(
ex
),
ex
))
from
ex
...
...
Lib/test/test_urllib2.py
Dosyayı görüntüle @
af5e29a7
...
...
@@ -1302,7 +1302,7 @@ class HandlerTests(unittest.TestCase):
)
def
test_basic_and_digest_auth_handlers
(
self
):
# HTTPDigestAuthHandler
threw
an exception if it couldn't handle a 40*
# HTTPDigestAuthHandler
raised
an exception if it couldn't handle a 40*
# response (http://python.org/sf/1479302), where it should instead
# return None to allow another handler (especially
# HTTPBasicAuthHandler) to handle the response.
...
...
Lib/test/test_winreg.py
Dosyayı görüntüle @
af5e29a7
...
...
@@ -277,7 +277,7 @@ class LocalWinregTests(BaseWinregTests):
def
test_long_key
(
self
):
# Issue2810, in 2.6 and 3.1 when the key name was exactly 256
# characters, EnumKey
threw
"WindowsError: More data is
# characters, EnumKey
raised
"WindowsError: More data is
# available"
name
=
'x'
*
256
try
:
...
...
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