diff --git a/Lib/test/crashers/new_logic.py b/Lib/test/crashers/new_logic.py deleted file mode 100644 index 1ae1ff05f63..00000000000 --- a/Lib/test/crashers/new_logic.py +++ /dev/null @@ -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() diff --git a/Lib/test/crashers/slot_tp_new.py b/Lib/test/crashers/slot_tp_new.py deleted file mode 100644 index 061d7aac9f5..00000000000 --- a/Lib/test/crashers/slot_tp_new.py +++ /dev/null @@ -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()