[Python-checkins] r74637 - in python/trunk/Lib/test/crashers: new_logic.py slot_tp_new.py
armin.rigo
python-checkins at python.org
Thu Sep 3 21:45:28 CEST 2009
Author: armin.rigo
Date: Thu Sep 3 21:45:27 2009
New Revision: 74637
Log:
Sorry, sorry! Ignore my previous two commits. I mixed up the version
of python with which I tried running the crashers. They don't crash
the current HEAD.
Removed:
python/trunk/Lib/test/crashers/new_logic.py
python/trunk/Lib/test/crashers/slot_tp_new.py
Deleted: python/trunk/Lib/test/crashers/new_logic.py
==============================================================================
--- python/trunk/Lib/test/crashers/new_logic.py Thu Sep 3 21:45:27 2009
+++ (empty file)
@@ -1,10 +0,0 @@
-"""
-Does not terminate: consume all memory without responding to Ctrl-C.
-I am not too sure why, but you can surely find out by gdb'ing a bit...
-"""
-
-class X(object):
- pass
-
-X.__new__ = X
-X()
Deleted: python/trunk/Lib/test/crashers/slot_tp_new.py
==============================================================================
--- python/trunk/Lib/test/crashers/slot_tp_new.py Thu Sep 3 21:45:27 2009
+++ (empty file)
@@ -1,11 +0,0 @@
-"""
-Infinite C recursion involving PyObject_GetAttr in slot_tp_new.
-"""
-
-class X(object):
- class __metaclass__(type):
- pass
- __new__ = 5
-
-X.__metaclass__.__new__ = property(X)
-print X()
More information about the Python-checkins
mailing list