summaryrefslogtreecommitdiffstats
path: root/Lib/test/crashers
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2008-01-18 23:05:40 (GMT)
committerGuido van Rossum <guido@python.org>2008-01-18 23:05:40 (GMT)
commitbf4c7c8c0d851b239425b53b676c71a75c7d40c8 (patch)
treea4c2fcb1a98ffd8662b74b1d00af35b0c381fef0 /Lib/test/crashers
parent0fe6ca467323c5a497fab3a2e6e753d65e78f718 (diff)
downloadcpython-bf4c7c8c0d851b239425b53b676c71a75c7d40c8.zip
cpython-bf4c7c8c0d851b239425b53b676c71a75c7d40c8.tar.gz
cpython-bf4c7c8c0d851b239425b53b676c71a75c7d40c8.tar.bz2
This got fixed for classic classes in r60057,
and backported to 2.5.2 in 60056.
Diffstat (limited to 'Lib/test/crashers')
-rw-r--r--Lib/test/crashers/weakref_in_del.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/Lib/test/crashers/weakref_in_del.py b/Lib/test/crashers/weakref_in_del.py
deleted file mode 100644
index 2e9b186..0000000
--- a/Lib/test/crashers/weakref_in_del.py
+++ /dev/null
@@ -1,17 +0,0 @@
-import weakref
-
-# http://python.org/sf/1377858
-# Fixed for new-style classes in 2.5c1.
-
-ref = None
-
-def test_weakref_in_del():
- class Target():
- def __del__(self):
- global ref
- ref = weakref.ref(self)
-
- w = Target()
-
-if __name__ == '__main__':
- test_weakref_in_del()