summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/test/crashers/new_logic.py10
-rw-r--r--Lib/test/crashers/slot_tp_new.py11
2 files changed, 0 insertions, 21 deletions
diff --git a/Lib/test/crashers/new_logic.py b/Lib/test/crashers/new_logic.py
deleted file mode 100644
index 1ae1ff05f6..0000000000
--- 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 061d7aac9f..0000000000
--- 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()