summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2009-09-03 19:45:27 (GMT)
committerArmin Rigo <arigo@tunes.org>2009-09-03 19:45:27 (GMT)
commitffd0dc1e8b99633944d281e200d3789049ef2e7f (patch)
tree2f8f21ef0205d9662f14962cc4916bfb0c2fd8b4 /Lib
parentf866fbb3035d234dcdd960e6d0a46e359eaad344 (diff)
downloadcpython-ffd0dc1e8b99633944d281e200d3789049ef2e7f.zip
cpython-ffd0dc1e8b99633944d281e200d3789049ef2e7f.tar.gz
cpython-ffd0dc1e8b99633944d281e200d3789049ef2e7f.tar.bz2
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.
Diffstat (limited to 'Lib')
-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 1ae1ff0..0000000
--- 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 061d7aa..0000000
--- 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()