[Python-checkins] r60063 - python/trunk/Lib/test/crashers/weakref_in_del.py
guido.van.rossum
python-checkins at python.org
Sat Jan 19 00:05:40 CET 2008
Author: guido.van.rossum
Date: Sat Jan 19 00:05:40 2008
New Revision: 60063
Removed:
python/trunk/Lib/test/crashers/weakref_in_del.py
Log:
This got fixed for classic classes in r60057,
and backported to 2.5.2 in 60056.
Deleted: /python/trunk/Lib/test/crashers/weakref_in_del.py
==============================================================================
--- /python/trunk/Lib/test/crashers/weakref_in_del.py Sat Jan 19 00:05:40 2008
+++ (empty file)
@@ -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()
More information about the Python-checkins
mailing list