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
05af43d6
Kaydet (Commit)
05af43d6
authored
Ock 10, 2006
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove outstanding_crashes again.
üst
7e8bfa41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
38 deletions
+0
-38
outstanding_crashes.py
Lib/test/outstanding_crashes.py
+0
-38
No files found.
Lib/test/outstanding_crashes.py
deleted
100644 → 0
Dosyayı görüntüle @
7e8bfa41
#
# This file is for everybody to add tests for crashes that aren't
# fixed yet. Please add a test case and appropriate description.
#
# When you fix one of the crashes, please move the test to the correct
# test_ module.
#
import
unittest
from
test
import
test_support
# Bug 1377858
#
# mwh's description:
# The problem is obvious if you read typeobject.c around line 660: the weakref
# list is cleared before __del__ is called, so any weakrefs added during the
# execution of __del__ are never informed of the object's death.
import
weakref
ref
=
None
class
TestBug1377858
(
unittest
.
TestCase
):
class
Target
(
object
):
def
__del__
(
self
):
global
ref
ref
=
weakref
.
ref
(
self
)
def
testBug1377858
(
self
):
w
=
self
.
__class__
.
Target
()
w
=
None
print
ref
()
def
test_main
():
test_support
.
run_unittest
(
TestBug1377858
)
if
__name__
==
"__main__"
:
test_main
()
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