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
ef67690e
Kaydet (Commit)
ef67690e
authored
Şub 13, 2007
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #685268: Consider a package's __path__ in imputil.
üst
626b2e99
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
imputil.py
Lib/imputil.py
+4
-0
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/imputil.py
Dosyayı görüntüle @
ef67690e
...
...
@@ -552,6 +552,10 @@ class _FilesystemImporter(Importer):
# This method is only used when we look for a module within a package.
assert
parent
for
submodule_path
in
parent
.
__path__
:
code
=
self
.
_import_pathname
(
_os_path_join
(
submodule_path
,
modname
),
fqname
)
if
code
is
not
None
:
return
code
return
self
.
_import_pathname
(
_os_path_join
(
parent
.
__pkgdir__
,
modname
),
fqname
)
...
...
Misc/NEWS
Dosyayı görüntüle @
ef67690e
...
...
@@ -169,6 +169,8 @@ Extension Modules
Library
-------
-
Patch
#
685268
:
Consider
a
package
's __path__ in imputil.
- Patch 1463026: Support default namespace in XMLGenerator.
- Patch 1571379: Make trace'
s
--
ignore
-
dir
facility
work
in
the
face
of
...
...
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