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
46f5b35b
Kaydet (Commit)
46f5b35b
authored
Ock 28, 2013
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #17051: Fix a memory leak in os.path.isdir() on Windows. Patch by Robert Xiao.
üst
80a0a1e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
NEWS
Misc/NEWS
+3
-0
posixmodule.c
Modules/posixmodule.c
+1
-0
No files found.
Misc/NEWS
Dosyayı görüntüle @
46f5b35b
...
@@ -200,6 +200,9 @@ Core and Builtins
...
@@ -200,6 +200,9 @@ Core and Builtins
Library
Library
-------
-------
- Issue #17051: Fix a memory leak in os.path.isdir() on Windows. Patch by
Robert Xiao.
- Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBase
- Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBase
interface and support all mandatory methods and properties.
interface and support all mandatory methods and properties.
...
...
Modules/posixmodule.c
Dosyayı görüntüle @
46f5b35b
...
@@ -4229,6 +4229,7 @@ posix__isdir(PyObject *self, PyObject *args)
...
@@ -4229,6 +4229,7 @@ posix__isdir(PyObject *self, PyObject *args)
return
NULL
;
return
NULL
;
attributes
=
GetFileAttributesA
(
path
);
attributes
=
GetFileAttributesA
(
path
);
PyMem_Free
(
path
);
if
(
attributes
==
INVALID_FILE_ATTRIBUTES
)
if
(
attributes
==
INVALID_FILE_ATTRIBUTES
)
Py_RETURN_FALSE
;
Py_RETURN_FALSE
;
...
...
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