summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-01-10 20:07:13 (GMT)
committerGeorg Brandl <georg@python.org>2006-01-10 20:07:13 (GMT)
commit05af43d6a0e31bcfbd371baff8a1f3bf67cdf6ff (patch)
treee0918aecfc8c2d1a4c6ec96329c6ae10963dc7fa /Lib
parent7e8bfa416384d83de697028e3e29d2227394c392 (diff)
downloadcpython-05af43d6a0e31bcfbd371baff8a1f3bf67cdf6ff.zip
cpython-05af43d6a0e31bcfbd371baff8a1f3bf67cdf6ff.tar.gz
cpython-05af43d6a0e31bcfbd371baff8a1f3bf67cdf6ff.tar.bz2
Remove outstanding_crashes again.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/outstanding_crashes.py38
1 files changed, 0 insertions, 38 deletions
diff --git a/Lib/test/outstanding_crashes.py b/Lib/test/outstanding_crashes.py
deleted file mode 100644
index 3fa9659..0000000
--- a/Lib/test/outstanding_crashes.py
+++ /dev/null
@@ -1,38 +0,0 @@
-#
-# 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()