From ffd0dc1e8b99633944d281e200d3789049ef2e7f Mon Sep 17 00:00:00 2001 From: Armin Rigo Date: Thu, 3 Sep 2009 19:45:27 +0000 Subject: 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. --- Lib/test/crashers/new_logic.py | 10 ---------- Lib/test/crashers/slot_tp_new.py | 11 ----------- 2 files changed, 21 deletions(-) delete mode 100644 Lib/test/crashers/new_logic.py delete mode 100644 Lib/test/crashers/slot_tp_new.py 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() -- cgit v0.12