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
a57773e4
Kaydet (Commit)
a57773e4
authored
May 05, 2009
tarafından
Thomas Heller
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix Issue #4875: find_library can return directories instead of files
(on win32)
üst
a985a3ae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
util.py
Lib/ctypes/util.py
+2
-2
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/ctypes/util.py
Dosyayı görüntüle @
a57773e4
...
...
@@ -52,12 +52,12 @@ if os.name == "nt":
# See MSDN for the REAL search order.
for
directory
in
os
.
environ
[
'PATH'
]
.
split
(
os
.
pathsep
):
fname
=
os
.
path
.
join
(
directory
,
name
)
if
os
.
path
.
exists
(
fname
):
if
os
.
path
.
isfile
(
fname
):
return
fname
if
fname
.
lower
()
.
endswith
(
".dll"
):
continue
fname
=
fname
+
".dll"
if
os
.
path
.
exists
(
fname
):
if
os
.
path
.
isfile
(
fname
):
return
fname
return
None
...
...
Misc/NEWS
Dosyayı görüntüle @
a57773e4
...
...
@@ -282,6 +282,9 @@ Core and Builtins
Library
-------
- Issue #4875: On win32, ctypes.util.find_library does no longer
return directories.
- Issue #5142: Add the ability to skip modules while stepping to pdb.
- Issue #1309567: Fix linecache behavior of stripping subdirectories when
...
...
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