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
2e7c8328
Kaydet (Commit)
2e7c8328
authored
May 11, 2004
tarafından
Thomas Heller
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix SF item #876278: Unbounded recursion in modulefinder.
Already backported to release23-maint.
üst
112f8f4f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
modulefinder.py
Lib/modulefinder.py
+4
-0
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/modulefinder.py
Dosyayı görüntüle @
2e7c8328
...
...
@@ -245,6 +245,9 @@ class ModuleFinder:
if
self
.
badmodules
.
has_key
(
fqname
):
self
.
msgout
(
3
,
"import_module -> None"
)
return
None
if
parent
and
parent
.
__path__
is
None
:
self
.
msgout
(
3
,
"import_module -> None"
)
return
None
try
:
fp
,
pathname
,
stuff
=
self
.
find_module
(
partname
,
parent
and
parent
.
__path__
,
parent
)
...
...
@@ -392,6 +395,7 @@ class ModuleFinder:
def
find_module
(
self
,
name
,
path
,
parent
=
None
):
if
parent
is
not
None
:
# assert path is not None
fullname
=
parent
.
__name__
+
'.'
+
name
else
:
fullname
=
name
...
...
Misc/NEWS
Dosyayı görüntüle @
2e7c8328
...
...
@@ -306,6 +306,8 @@ Extension modules
Library
-------
-
Bug
#
876278
:
Unbounded
recursion
in
modulefinder
-
Bug
#
780300
:
Swap
public
and
system
ID
in
LexicalHandler
.
startDTD
.
Applications
relying
on
the
wrong
order
need
to
be
corrected
.
...
...
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