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
3fdffc9f
Kaydet (Commit)
3fdffc9f
authored
Agu 12, 2014
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #17923: glob() patterns ending with a slash no longer match non-dirs on
AIX. Based on patch by Delhallt.
üst
67310859
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
glob.py
Lib/glob.py
+8
-3
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/glob.py
Dosyayı görüntüle @
3fdffc9f
...
...
@@ -35,11 +35,16 @@ def iglob(pathname):
patterns.
"""
dirname
,
basename
=
os
.
path
.
split
(
pathname
)
if
not
has_magic
(
pathname
):
if
os
.
path
.
lexists
(
pathname
):
yield
pathname
if
basename
:
if
os
.
path
.
lexists
(
pathname
):
yield
pathname
else
:
# Patterns ending with a slash should match only directories
if
os
.
path
.
isdir
(
dirname
):
yield
pathname
return
dirname
,
basename
=
os
.
path
.
split
(
pathname
)
if
not
dirname
:
for
name
in
glob1
(
os
.
curdir
,
basename
):
yield
name
...
...
Misc/NEWS
Dosyayı görüntüle @
3fdffc9f
...
...
@@ -19,6 +19,9 @@ Core and Builtins
Library
-------
- Issue #17923: glob() patterns ending with a slash no longer match non-dirs on
AIX. Based on patch by Delhallt.
- Issue #21975: Fixed crash when using uninitialized sqlite3.Row (in particular
when unpickling pickled sqlite3.Row). sqlite3.Row is now initialized in the
__new__() method.
...
...
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