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
7a1af770
Kaydet (Commit)
7a1af770
authored
Agu 14, 2006
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #1536071: trace.py should now find the full module name of a
file correctly even on Windows.
üst
85fec591
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
trace.py
Lib/trace.py
+3
-1
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/trace.py
Dosyayı görüntüle @
7a1af770
...
...
@@ -179,9 +179,11 @@ def fullmodname(path):
# looking in sys.path for the longest matching prefix. We'll
# assume that the rest is the package name.
comparepath
=
os
.
path
.
normcase
(
path
)
longest
=
""
for
dir
in
sys
.
path
:
if
path
.
startswith
(
dir
)
and
path
[
len
(
dir
)]
==
os
.
path
.
sep
:
dir
=
os
.
path
.
normcase
(
dir
)
if
comparepath
.
startswith
(
dir
)
and
comparepath
[
len
(
dir
)]
==
os
.
sep
:
if
len
(
dir
)
>
len
(
longest
):
longest
=
dir
...
...
Misc/NEWS
Dosyayı görüntüle @
7a1af770
...
...
@@ -64,6 +64,9 @@ Core and builtins
Library
-------
- Patch #1536071: trace.py should now find the full module name of a
file correctly even on Windows.
- logging'
s
atexit
hook
now
runs
even
if
the
rest
of
the
module
has
already
been
cleaned
up
.
...
...
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