[Python-checkins] r60064 - python/branches/release25-maint/Lib/test/crashers/weakref_in_del.py

guido.van.rossum python-checkins at python.org
Sat Jan 19 00:06:49 CET 2008


Author: guido.van.rossum
Date: Sat Jan 19 00:06:49 2008
New Revision: 60064

Removed:
   python/branches/release25-maint/Lib/test/crashers/weakref_in_del.py
Log:
This got fixed in r60056.


Deleted: /python/branches/release25-maint/Lib/test/crashers/weakref_in_del.py
==============================================================================
--- /python/branches/release25-maint/Lib/test/crashers/weakref_in_del.py	Sat Jan 19 00:06:49 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