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
bd91ee9c
Kaydet (Commit)
bd91ee9c
authored
Nis 23, 2015
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
merge 3.3 (#24044)
üst
d98c6773
51454a62
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
NEWS
Misc/NEWS
+3
-0
listobject.c
Objects/listobject.c
+4
-2
No files found.
Misc/NEWS
Dosyayı görüntüle @
bd91ee9c
...
...
@@ -28,6 +28,9 @@ Core and Builtins
- Issue #23629: Fix the default __sizeof__ implementation for variable-sized
objects.
- Issue #24044: Fix possible null pointer dereference in list.sort in out of
memory conditions.
Library
-------
...
...
Objects/listobject.c
Dosyayı görüntüle @
bd91ee9c
...
...
@@ -1961,8 +1961,10 @@ listsort(PyListObject *self, PyObject *args, PyObject *kwds)
keys
=
&
ms
.
temparray
[
saved_ob_size
+
1
];
else
{
keys
=
PyMem_MALLOC
(
sizeof
(
PyObject
*
)
*
saved_ob_size
);
if
(
keys
==
NULL
)
return
NULL
;
if
(
keys
==
NULL
)
{
PyErr_NoMemory
();
goto
keyfunc_fail
;
}
}
for
(
i
=
0
;
i
<
saved_ob_size
;
i
++
)
{
...
...
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