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
2039753a
Kaydet (Commit)
2039753a
authored
Eyl 12, 2010
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #9825: Remove __del__() from OrderedDict.
üst
a1f74816
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
collections.py
Lib/collections.py
+0
-3
NEWS
Misc/NEWS
+7
-0
No files found.
Lib/collections.py
Dosyayı görüntüle @
2039753a
...
@@ -173,9 +173,6 @@ class OrderedDict(dict, MutableMapping):
...
@@ -173,9 +173,6 @@ class OrderedDict(dict, MutableMapping):
all
(
_imap
(
_eq
,
self
.
iteritems
(),
other
.
iteritems
()))
all
(
_imap
(
_eq
,
self
.
iteritems
(),
other
.
iteritems
()))
return
dict
.
__eq__
(
self
,
other
)
return
dict
.
__eq__
(
self
,
other
)
def
__del__
(
self
):
self
.
clear
()
# eliminate cyclical references
################################################################################
################################################################################
### namedtuple
### namedtuple
...
...
Misc/NEWS
Dosyayı görüntüle @
2039753a
...
@@ -43,6 +43,13 @@ Core and Builtins
...
@@ -43,6 +43,13 @@ Core and Builtins
Library
Library
-------
-------
- Issue #9825: removed __del__ from the definition of collections.OrderedDict.
This prevents user-created self-referencing ordered dictionaries from
becoming permanently uncollectable GC garbage. The downside is that
removing __del__ means that the internal doubly-linked list has to wait for
GC collection rather than freeing memory immediately when the refcnt drops
to zero.
- Issue #9816: random.Random.jumpahead(n) did not produce a sufficiently
- Issue #9816: random.Random.jumpahead(n) did not produce a sufficiently
different internal state for small values of n. Fixed by salting the
different internal state for small values of n. Fixed by salting the
value.
value.
...
...
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